pub struct FollowGroupBuilder {
group_id: Option<Uuid>,
/* private fields */
}
Expand description
Builder for FollowGroup
.
Fields§
§group_id: Option<Uuid>
Implementations§
Source§impl FollowGroupBuilder
impl FollowGroupBuilder
pub fn group_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<FollowGroup, BuilderError>
pub fn build(&self) -> Result<FollowGroup, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Trait Implementations§
Source§impl Clone for FollowGroupBuilder
impl Clone for FollowGroupBuilder
Source§fn clone(&self) -> FollowGroupBuilder
fn clone(&self) -> FollowGroupBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for FollowGroupBuilder
impl !RefUnwindSafe for FollowGroupBuilder
impl !Send for FollowGroupBuilder
impl !Sync for FollowGroupBuilder
impl Unpin for FollowGroupBuilder
impl !UnwindSafe for FollowGroupBuilder
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