pub struct DeleteGuildPayload {
pub password: String,
}Expand description
The payload sent to delete a guild.
Fields§
§password: StringThe password of the user. If this is a bot account, the password is not required and no body should be sent.
Trait Implementations§
Source§impl Clone for DeleteGuildPayload
impl Clone for DeleteGuildPayload
Source§fn clone(&self) -> DeleteGuildPayload
fn clone(&self) -> DeleteGuildPayload
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 DeleteGuildPayload
impl Debug for DeleteGuildPayload
Source§impl<'de> Deserialize<'de> for DeleteGuildPayload
impl<'de> Deserialize<'de> for DeleteGuildPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeleteGuildPayload
impl RefUnwindSafe for DeleteGuildPayload
impl Send for DeleteGuildPayload
impl Sync for DeleteGuildPayload
impl Unpin for DeleteGuildPayload
impl UnwindSafe for DeleteGuildPayload
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