pub struct Request {
pub channel_id: Id<Channel>,
pub name: Option<String>,
pub description: Option<Option<String>>,
pub banner_id: Option<Option<Id<DriveFile>>>,
}Available on crate feature
12-47-0 only.Fields§
§channel_id: Id<Channel>§name: Option<String>[ 1 .. 128 ] characters
description: Option<Option<String>>[ 1 .. 2048 ] characters
Implementations§
Source§impl Request
impl Request
Sourcepub fn builder() -> RequestBuilder<((), (), (), ())>
pub fn builder() -> RequestBuilder<((), (), (), ())>
Create a builder for building Request.
On the builder, call .channel_id(...), .name(...)(optional), .description(...)(optional), .banner_id(...)(optional) to set the values of the fields (they accept Into values).
Finally, call .build() to create the instance of Request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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