pub struct TopWorkspace {
pub id: Option<String>,
pub name: Option<String>,
pub count: Option<i32>,
}
Expand description
TopWorkspace : This object, found within the top_workspaces
array, contains the workspace information and count for the requested signal.
Fields§
§id: Option<String>
ID of the workspace.
name: Option<String>
Name of the workspace.
count: Option<i32>
Count of attacks on this workspace for the specific attack type.
Implementations§
Source§impl TopWorkspace
impl TopWorkspace
Sourcepub fn new() -> TopWorkspace
pub fn new() -> TopWorkspace
This object, found within the top_workspaces
array, contains the workspace information and count for the requested signal.
Trait Implementations§
Source§impl Clone for TopWorkspace
impl Clone for TopWorkspace
Source§fn clone(&self) -> TopWorkspace
fn clone(&self) -> TopWorkspace
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 TopWorkspace
impl Debug for TopWorkspace
Source§impl Default for TopWorkspace
impl Default for TopWorkspace
Source§fn default() -> TopWorkspace
fn default() -> TopWorkspace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopWorkspace
impl<'de> Deserialize<'de> for TopWorkspace
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 TopWorkspace
impl PartialEq for TopWorkspace
Source§impl Serialize for TopWorkspace
impl Serialize for TopWorkspace
impl StructuralPartialEq for TopWorkspace
Auto Trait Implementations§
impl Freeze for TopWorkspace
impl RefUnwindSafe for TopWorkspace
impl Send for TopWorkspace
impl Sync for TopWorkspace
impl Unpin for TopWorkspace
impl UnwindSafe for TopWorkspace
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