pub struct AddressBuilder { /* private fields */ }
Implementations§
Source§impl AddressBuilder
impl AddressBuilder
pub fn field(self, field: impl Into<AddressField>) -> AddressBuilder
pub fn fields<I, S>(self, fields: I) -> AddressBuilder
pub fn build(self) -> Result<Address, String>
Trait Implementations§
Source§impl Clone for AddressBuilder
impl Clone for AddressBuilder
Source§fn clone(&self) -> AddressBuilder
fn clone(&self) -> AddressBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AddressBuilder
impl Default for AddressBuilder
Source§fn default() -> AddressBuilder
fn default() -> AddressBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddressBuilder
impl RefUnwindSafe for AddressBuilder
impl Send for AddressBuilder
impl Sync for AddressBuilder
impl Unpin for AddressBuilder
impl UnwindSafe for AddressBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more