pub struct InviteCreator {
pub username: Option<String>,
pub display_name: String,
}Expand description
Who made an invite.
Fields§
§username: Option<String>The admin’s username; None for one made with the server’s CLI,
which signs in as no one.
display_name: StringWhat to show: the admin’s display name (their username when they have none, or when the account is gone), or “server CLI”.
Trait Implementations§
Source§impl Clone for InviteCreator
impl Clone for InviteCreator
Source§impl Debug for InviteCreator
impl Debug for InviteCreator
Source§impl<'de> Deserialize<'de> for InviteCreator
impl<'de> Deserialize<'de> for InviteCreator
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
impl Eq for InviteCreator
Source§impl PartialEq for InviteCreator
impl PartialEq for InviteCreator
Source§impl Serialize for InviteCreator
impl Serialize for InviteCreator
impl StructuralPartialEq for InviteCreator
Auto Trait Implementations§
impl Forget for InviteCreator
impl Freeze for InviteCreator
impl Move for InviteCreator
impl RefUnwindSafe for InviteCreator
impl Send for InviteCreator
impl Sync for InviteCreator
impl Unpin for InviteCreator
impl UnsafeUnpin for InviteCreator
impl UnwindSafe for InviteCreator
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