pub struct InviteCreateOptions {
pub uses: u16,
}Expand description
Optional parameter for defining the number of times an invite can be used.
Fields§
§uses: u16Trait Implementations§
Source§impl Debug for InviteCreateOptions
impl Debug for InviteCreateOptions
Source§impl<'de> Deserialize<'de> for InviteCreateOptions
impl<'de> Deserialize<'de> for InviteCreateOptions
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 InviteCreateOptions
impl RefUnwindSafe for InviteCreateOptions
impl Send for InviteCreateOptions
impl Sync for InviteCreateOptions
impl Unpin for InviteCreateOptions
impl UnsafeUnpin for InviteCreateOptions
impl UnwindSafe for InviteCreateOptions
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