pub struct ChannelUpdateBuilder<C> { /* private fields */ }Available on crate feature
12-47-0 only.Expand description
Builder for the update_channel method.
Implementations§
Source§impl<C> ChannelUpdateBuilder<C>
impl<C> ChannelUpdateBuilder<C>
Sourcepub fn new(client: C, channel: impl EntityRef<Channel>) -> Self
pub fn new(client: C, channel: impl EntityRef<Channel>) -> Self
Creates a builder with the client and the channel you are going to update.
Sourcepub fn as_request(&self) -> &Request
pub fn as_request(&self) -> &Request
Gets the request object for reuse.
Sourcepub fn set_description(&mut self, description: impl Into<String>) -> &mut Self
pub fn set_description(&mut self, description: impl Into<String>) -> &mut Self
Sets the description.
Sourcepub fn delete_description(&mut self) -> &mut Self
pub fn delete_description(&mut self) -> &mut Self
Deletes the description.
Sets the banner image.
Deletes the banner image.
Auto Trait Implementations§
impl<C> Freeze for ChannelUpdateBuilder<C>where
C: Freeze,
impl<C> RefUnwindSafe for ChannelUpdateBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for ChannelUpdateBuilder<C>where
C: Send,
impl<C> Sync for ChannelUpdateBuilder<C>where
C: Sync,
impl<C> Unpin for ChannelUpdateBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for ChannelUpdateBuilder<C>where
C: UnwindSafe,
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