pub struct CreateGuildStickerBody {
pub name: String,
pub image: String,
pub description: Option<String>,
pub tags: Option<Vec<String>>,
}Fields§
§name: String§image: StringBase64-encoded image data.
description: Option<String>Up to 10 tags for autocomplete/suggestions.
Implementations§
Source§impl CreateGuildStickerBody
impl CreateGuildStickerBody
Sourcepub fn builder() -> CreateGuildStickerBodyBuilder
pub fn builder() -> CreateGuildStickerBodyBuilder
Create an instance of CreateGuildStickerBody using the builder syntax
Trait Implementations§
Source§impl Clone for CreateGuildStickerBody
impl Clone for CreateGuildStickerBody
Source§fn clone(&self) -> CreateGuildStickerBody
fn clone(&self) -> CreateGuildStickerBody
Returns a duplicate 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 moreSource§impl Debug for CreateGuildStickerBody
impl Debug for CreateGuildStickerBody
Auto Trait Implementations§
impl Freeze for CreateGuildStickerBody
impl RefUnwindSafe for CreateGuildStickerBody
impl Send for CreateGuildStickerBody
impl Sync for CreateGuildStickerBody
impl Unpin for CreateGuildStickerBody
impl UnsafeUnpin for CreateGuildStickerBody
impl UnwindSafe for CreateGuildStickerBody
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