pub struct PrivateServerInfo {
pub id: u64,
pub name: String,
pub active: bool,
pub link_url: String,
pub join_code: String,
pub game: PrivateServerInfoGame,
pub subscription: PrivateServerInfoSubscription,
pub permissions: PrivateServerInfoPermissions,
pub voice_settings: PrivateServerInfoVoiceSettings,
}Fields§
§id: u64§name: String§active: bool§link_url: String§join_code: String§game: PrivateServerInfoGame§subscription: PrivateServerInfoSubscription§permissions: PrivateServerInfoPermissions§voice_settings: PrivateServerInfoVoiceSettingsTrait Implementations§
Source§impl Clone for PrivateServerInfo
impl Clone for PrivateServerInfo
Source§fn clone(&self) -> PrivateServerInfo
fn clone(&self) -> PrivateServerInfo
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 PrivateServerInfo
impl Debug for PrivateServerInfo
Source§impl<'de> Deserialize<'de> for PrivateServerInfo
impl<'de> Deserialize<'de> for PrivateServerInfo
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
Source§impl PartialEq for PrivateServerInfo
impl PartialEq for PrivateServerInfo
Source§impl Serialize for PrivateServerInfo
impl Serialize for PrivateServerInfo
impl Eq for PrivateServerInfo
impl StructuralPartialEq for PrivateServerInfo
Auto Trait Implementations§
impl Freeze for PrivateServerInfo
impl RefUnwindSafe for PrivateServerInfo
impl Send for PrivateServerInfo
impl Sync for PrivateServerInfo
impl Unpin for PrivateServerInfo
impl UnwindSafe for PrivateServerInfo
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