pub struct AccountBuilder<'a> { /* private fields */ }Expand description
A Type that knows how to construct an Account.
Implementations§
Source§impl<'a> AccountBuilder<'a>
impl<'a> AccountBuilder<'a>
Sourcepub fn home_page(self, val: &'a str) -> Result<Self, DataError>
pub fn home_page(self, val: &'a str) -> Result<Self, DataError>
Set the home_page field.
Raise DataError if the argument is empty, cannot be parsed as an IRI, or the resulting IRI is not a valid URL.
Trait Implementations§
Source§impl<'a> Debug for AccountBuilder<'a>
impl<'a> Debug for AccountBuilder<'a>
Source§impl<'a> Default for AccountBuilder<'a>
impl<'a> Default for AccountBuilder<'a>
Source§fn default() -> AccountBuilder<'a>
fn default() -> AccountBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for AccountBuilder<'a>
impl<'a> RefUnwindSafe for AccountBuilder<'a>
impl<'a> Send for AccountBuilder<'a>
impl<'a> Sync for AccountBuilder<'a>
impl<'a> Unpin for AccountBuilder<'a>
impl<'a> UnsafeUnpin for AccountBuilder<'a>
impl<'a> UnwindSafe for AccountBuilder<'a>
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