pub struct AgentBatch {
pub submitted: i64,
pub processed: i64,
pub failed: i64,
pub truncated: bool,
pub reason: String,
pub by_class: HashMap<String, i64>,
pub results: Vec<AgentBatchResult>,
pub as_of: String,
}Expand description
Response of POST /v1/agentscan/batch.
Fields§
§submitted: i64§processed: i64§failed: i64§truncated: bool§reason: StringEmpty, or quota_exceeded when the batch was cut short.
by_class: HashMap<String, i64>§results: Vec<AgentBatchResult>§as_of: StringTrait Implementations§
Source§impl Clone for AgentBatch
impl Clone for AgentBatch
Source§impl Debug for AgentBatch
impl Debug for AgentBatch
Source§impl Default for AgentBatch
impl Default for AgentBatch
Source§impl<'de> Deserialize<'de> for AgentBatchwhere
AgentBatch: Default,
impl<'de> Deserialize<'de> for AgentBatchwhere
AgentBatch: Default,
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 AgentBatch
impl PartialEq for AgentBatch
Source§impl Serialize for AgentBatch
impl Serialize for AgentBatch
impl StructuralPartialEq for AgentBatch
Auto Trait Implementations§
impl Freeze for AgentBatch
impl RefUnwindSafe for AgentBatch
impl Send for AgentBatch
impl Sync for AgentBatch
impl Unpin for AgentBatch
impl UnsafeUnpin for AgentBatch
impl UnwindSafe for AgentBatch
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