pub struct WorkspaceRoleActivity {
pub active_admin_count: f64,
pub active_doc_maker_count: f64,
pub active_editor_count: f64,
pub inactive_admin_count: f64,
pub inactive_doc_maker_count: f64,
pub inactive_editor_count: f64,
pub month: String,
}
Expand description
Metadata for workspace role activity.
JSON schema
{
"description": "Metadata for workspace role activity.",
"type": "object",
"required": [
"activeAdminCount",
"activeDocMakerCount",
"activeEditorCount",
"inactiveAdminCount",
"inactiveDocMakerCount",
"inactiveEditorCount",
"month"
],
"properties": {
"activeAdminCount": {
"description": "Number of active Admins.",
"examples": [
2
],
"type": "number"
},
"activeDocMakerCount": {
"description": "Number of active Doc Makers.",
"examples": [
2
],
"type": "number"
},
"activeEditorCount": {
"description": "Number of active Editors.",
"examples": [
2
],
"type": "number"
},
"inactiveAdminCount": {
"description": "Number of inactive Admins.",
"examples": [
2
],
"type": "number"
},
"inactiveDocMakerCount": {
"description": "Number of inactive Doc Makers.",
"examples": [
2
],
"type": "number"
},
"inactiveEditorCount": {
"description": "Number of inactive Editor users.",
"examples": [
2
],
"type": "number"
},
"month": {
"description": "Month corresponding to the data.",
"examples": [
"2020-09-15"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "WorkspaceRoleActivity"
}
Fields§
§active_admin_count: f64
§active_doc_maker_count: f64
§active_editor_count: f64
§inactive_admin_count: f64
§inactive_doc_maker_count: f64
§inactive_editor_count: f64
§month: String
Month corresponding to the data.
Trait Implementations§
Source§impl Clone for WorkspaceRoleActivity
impl Clone for WorkspaceRoleActivity
Source§fn clone(&self) -> WorkspaceRoleActivity
fn clone(&self) -> WorkspaceRoleActivity
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 WorkspaceRoleActivity
impl Debug for WorkspaceRoleActivity
Source§impl<'de> Deserialize<'de> for WorkspaceRoleActivity
impl<'de> Deserialize<'de> for WorkspaceRoleActivity
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 From<&WorkspaceRoleActivity> for WorkspaceRoleActivity
impl From<&WorkspaceRoleActivity> for WorkspaceRoleActivity
Source§fn from(value: &WorkspaceRoleActivity) -> Self
fn from(value: &WorkspaceRoleActivity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkspaceRoleActivity
impl RefUnwindSafe for WorkspaceRoleActivity
impl Send for WorkspaceRoleActivity
impl Sync for WorkspaceRoleActivity
impl Unpin for WorkspaceRoleActivity
impl UnwindSafe for WorkspaceRoleActivity
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