pub struct OrganizationBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> OrganizationBuilder<S>
impl<S: State> OrganizationBuilder<S>
Sourcepub fn build(self) -> Organizationwhere
S: IsComplete,
pub fn build(self) -> Organizationwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> OrganizationBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> OrganizationBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
The unique identifier of the organization
Sourcepub fn name(self, value: String) -> OrganizationBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> OrganizationBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
The name of the organization
Auto Trait Implementations§
impl<S> Freeze for OrganizationBuilder<S>
impl<S> RefUnwindSafe for OrganizationBuilder<S>
impl<S> Send for OrganizationBuilder<S>
impl<S> Sync for OrganizationBuilder<S>
impl<S> Unpin for OrganizationBuilder<S>
impl<S> UnsafeUnpin for OrganizationBuilder<S>
impl<S> UnwindSafe for OrganizationBuilder<S>
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