pub struct GuildCreatePayload {
pub name: String,
pub icon: Option<String>,
pub empty_features: Option<bool>,
pub template: Option<Value>,
}Fields§
§name: String§icon: Option<String>§empty_features: Option<bool>§template: Option<Value>Trait Implementations§
Source§impl Clone for GuildCreatePayload
impl Clone for GuildCreatePayload
Source§fn clone(&self) -> GuildCreatePayload
fn clone(&self) -> GuildCreatePayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GuildCreatePayload
impl Debug for GuildCreatePayload
Source§impl Default for GuildCreatePayload
impl Default for GuildCreatePayload
Source§fn default() -> GuildCreatePayload
fn default() -> GuildCreatePayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GuildCreatePayload
impl RefUnwindSafe for GuildCreatePayload
impl Send for GuildCreatePayload
impl Sync for GuildCreatePayload
impl Unpin for GuildCreatePayload
impl UnsafeUnpin for GuildCreatePayload
impl UnwindSafe for GuildCreatePayload
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