pub struct GetAgentViolationsResponse {
pub agent_id: Option<String>,
pub violations: Option<Vec<ConstitutionViolation>>,
pub count: Option<i64>,
}Expand description
GetAgentViolationsResponse model.
Fields§
§agent_id: Option<String>§violations: Option<Vec<ConstitutionViolation>>§count: Option<i64>Trait Implementations§
Source§impl Clone for GetAgentViolationsResponse
impl Clone for GetAgentViolationsResponse
Source§fn clone(&self) -> GetAgentViolationsResponse
fn clone(&self) -> GetAgentViolationsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetAgentViolationsResponse
impl Debug for GetAgentViolationsResponse
Source§impl Default for GetAgentViolationsResponse
impl Default for GetAgentViolationsResponse
Source§fn default() -> GetAgentViolationsResponse
fn default() -> GetAgentViolationsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAgentViolationsResponse
impl<'de> Deserialize<'de> for GetAgentViolationsResponse
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
impl StructuralPartialEq for GetAgentViolationsResponse
Auto Trait Implementations§
impl Freeze for GetAgentViolationsResponse
impl RefUnwindSafe for GetAgentViolationsResponse
impl Send for GetAgentViolationsResponse
impl Sync for GetAgentViolationsResponse
impl Unpin for GetAgentViolationsResponse
impl UnsafeUnpin for GetAgentViolationsResponse
impl UnwindSafe for GetAgentViolationsResponse
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