fn validate(&self) -> Result<()> {
        if self.address.is_none() {
            Err(Error::BuildError("Missing Address".to_string()))
        } else {
            Ok(())
        }
    }
/// Validates that all required fields have been provided
Validates that all required fields have been provided
Validates that all required fields have been provided
fn validate(&self) -> Result<()> {
        if self.address.is_none() {
            Err(Error::BuildError("Missing Address".to_string()))
        } else {
            Ok(())
        }
    }
fn validate ( & self ) -> Result < ( ) > { if self . address . is_none ( ) { Err ( Error :: BuildError ( " " . to_string ( ) ) ) } else { Ok ( ( ) ) } }
Validates that all required fields have been provided
Validates that all required fields have been provided
&self
&self