pub struct NodeInfoUsage {
pub local_comments: Option<i64>,
pub local_posts: Option<i64>,
pub users: Option<Box<NodeInfoUsageUsers>>,
}
Expand description
NodeInfoUsage : NodeInfoUsage contains usage statistics for this server
Fields§
§local_comments: Option<i64>
§local_posts: Option<i64>
§users: Option<Box<NodeInfoUsageUsers>>
Implementations§
Source§impl NodeInfoUsage
impl NodeInfoUsage
Sourcepub fn new() -> NodeInfoUsage
pub fn new() -> NodeInfoUsage
NodeInfoUsage contains usage statistics for this server
Trait Implementations§
Source§impl Clone for NodeInfoUsage
impl Clone for NodeInfoUsage
Source§fn clone(&self) -> NodeInfoUsage
fn clone(&self) -> NodeInfoUsage
Returns a copy 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 NodeInfoUsage
impl Debug for NodeInfoUsage
Source§impl Default for NodeInfoUsage
impl Default for NodeInfoUsage
Source§fn default() -> NodeInfoUsage
fn default() -> NodeInfoUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeInfoUsage
impl<'de> Deserialize<'de> for NodeInfoUsage
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 NodeInfoUsage
impl PartialEq for NodeInfoUsage
Source§impl Serialize for NodeInfoUsage
impl Serialize for NodeInfoUsage
impl StructuralPartialEq for NodeInfoUsage
Auto Trait Implementations§
impl Freeze for NodeInfoUsage
impl RefUnwindSafe for NodeInfoUsage
impl Send for NodeInfoUsage
impl Sync for NodeInfoUsage
impl Unpin for NodeInfoUsage
impl UnwindSafe for NodeInfoUsage
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