pub struct RegenerateBotTokenPayload {
pub password: String,
}Expand description
Payload sent when regenerating a bot’s token.
Fields§
§password: StringThe password of the bot owner.
Trait Implementations§
Source§impl Clone for RegenerateBotTokenPayload
impl Clone for RegenerateBotTokenPayload
Source§fn clone(&self) -> RegenerateBotTokenPayload
fn clone(&self) -> RegenerateBotTokenPayload
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 RegenerateBotTokenPayload
impl Debug for RegenerateBotTokenPayload
Source§impl<'de> Deserialize<'de> for RegenerateBotTokenPayload
impl<'de> Deserialize<'de> for RegenerateBotTokenPayload
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 RegenerateBotTokenPayload
impl RefUnwindSafe for RegenerateBotTokenPayload
impl Send for RegenerateBotTokenPayload
impl Sync for RegenerateBotTokenPayload
impl Unpin for RegenerateBotTokenPayload
impl UnwindSafe for RegenerateBotTokenPayload
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