pub struct OrganizationListBuilder {
pub organizations: Vec<Organization>,
}
Expand description
Builder used to create an OrganizationList
Fields§
§organizations: Vec<Organization>
Implementations§
Source§impl OrganizationListBuilder
impl OrganizationListBuilder
pub fn new() -> Self
pub fn with_organizations( self, organizations: Vec<Organization>, ) -> OrganizationListBuilder
pub fn build(self) -> Result<OrganizationList, OrganizationListBuildError>
Trait Implementations§
Source§impl Clone for OrganizationListBuilder
impl Clone for OrganizationListBuilder
Source§fn clone(&self) -> OrganizationListBuilder
fn clone(&self) -> OrganizationListBuilder
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 OrganizationListBuilder
impl Default for OrganizationListBuilder
Source§fn default() -> OrganizationListBuilder
fn default() -> OrganizationListBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrganizationListBuilder
impl RefUnwindSafe for OrganizationListBuilder
impl Send for OrganizationListBuilder
impl Sync for OrganizationListBuilder
impl Unpin for OrganizationListBuilder
impl UnwindSafe for OrganizationListBuilder
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