pub struct LabelUpdateInputBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LabelUpdateInputBuilder<S>
impl<S: State> LabelUpdateInputBuilder<S>
Sourcepub fn build(self) -> LabelUpdateInputwhere
S: IsComplete,
pub fn build(self) -> LabelUpdateInputwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(
self,
value: impl Into<String>,
) -> LabelUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<String>,
) -> LabelUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn maybe_name(
self,
value: Option<impl Into<String>>,
) -> LabelUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<String>>,
) -> LabelUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn color(
self,
value: impl Into<String>,
) -> LabelUpdateInputBuilder<SetColor<S>>where
S::Color: IsUnset,
pub fn color(
self,
value: impl Into<String>,
) -> LabelUpdateInputBuilder<SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn maybe_color(
self,
value: Option<impl Into<String>>,
) -> LabelUpdateInputBuilder<SetColor<S>>where
S::Color: IsUnset,
pub fn maybe_color(
self,
value: Option<impl Into<String>>,
) -> LabelUpdateInputBuilder<SetColor<S>>where
S::Color: IsUnset,
Sourcepub fn description(
self,
value: impl Into<Undefinable<String>>,
) -> LabelUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Undefinable<String>>,
) -> LabelUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<impl Into<Undefinable<String>>>,
) -> LabelUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Undefinable<String>>>,
) -> LabelUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn parent_id(
self,
value: impl Into<Undefinable<LabelId>>,
) -> LabelUpdateInputBuilder<SetParentId<S>>where
S::ParentId: IsUnset,
pub fn parent_id(
self,
value: impl Into<Undefinable<LabelId>>,
) -> LabelUpdateInputBuilder<SetParentId<S>>where
S::ParentId: IsUnset,
Sourcepub fn maybe_parent_id(
self,
value: Option<impl Into<Undefinable<LabelId>>>,
) -> LabelUpdateInputBuilder<SetParentId<S>>where
S::ParentId: IsUnset,
pub fn maybe_parent_id(
self,
value: Option<impl Into<Undefinable<LabelId>>>,
) -> LabelUpdateInputBuilder<SetParentId<S>>where
S::ParentId: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for LabelUpdateInputBuilder<S>
impl<S> RefUnwindSafe for LabelUpdateInputBuilder<S>
impl<S> Send for LabelUpdateInputBuilder<S>
impl<S> Sync for LabelUpdateInputBuilder<S>
impl<S> Unpin for LabelUpdateInputBuilder<S>
impl<S> UnsafeUnpin for LabelUpdateInputBuilder<S>
impl<S> UnwindSafe for LabelUpdateInputBuilder<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