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