pub struct AssetDiscordServer {
pub url: Option<String>,
pub name: Option<String>,
pub total_members: Option<i32>,
pub total_closed_pull_requests: Option<i32>,
pub premium_subscribers: Option<i32>,
}Fields§
§url: Option<String>The URL of the Discord server used to retrieve social metrics.
name: Option<String>The name of the Discord server.
total_members: Option<i32>The total number of users/members in this Discord server.
total_closed_pull_requests: Option<i32>The number of online users in this Discord server.
The number of premium subscribers in this Discord server.
Trait Implementations§
Source§impl Clone for AssetDiscordServer
impl Clone for AssetDiscordServer
Source§fn clone(&self) -> AssetDiscordServer
fn clone(&self) -> AssetDiscordServer
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 AssetDiscordServer
impl Debug for AssetDiscordServer
Source§impl<'de> Deserialize<'de> for AssetDiscordServer
impl<'de> Deserialize<'de> for AssetDiscordServer
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 AssetDiscordServer
impl RefUnwindSafe for AssetDiscordServer
impl Send for AssetDiscordServer
impl Sync for AssetDiscordServer
impl Unpin for AssetDiscordServer
impl UnsafeUnpin for AssetDiscordServer
impl UnwindSafe for AssetDiscordServer
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