pub struct AgentBatchResult {
pub line: i64,
pub ip: String,
pub user_agent: Option<String>,
pub class: Option<String>,
pub confidence: Option<f64>,
pub action: Option<String>,
pub signals: Option<Map<String, Value>>,
pub error: Option<String>,
}Expand description
One classified line of a batch.
Fields§
§line: i64§ip: String§user_agent: Option<String>§class: Option<String>§confidence: Option<f64>§action: Option<String>§signals: Option<Map<String, Value>>§error: Option<String>Trait Implementations§
Source§impl Clone for AgentBatchResult
impl Clone for AgentBatchResult
Source§impl Debug for AgentBatchResult
impl Debug for AgentBatchResult
Source§impl Default for AgentBatchResult
impl Default for AgentBatchResult
Source§impl<'de> Deserialize<'de> for AgentBatchResultwhere
AgentBatchResult: Default,
impl<'de> Deserialize<'de> for AgentBatchResultwhere
AgentBatchResult: 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 AgentBatchResult
impl PartialEq for AgentBatchResult
Source§impl Serialize for AgentBatchResult
impl Serialize for AgentBatchResult
impl StructuralPartialEq for AgentBatchResult
Auto Trait Implementations§
impl Freeze for AgentBatchResult
impl RefUnwindSafe for AgentBatchResult
impl Send for AgentBatchResult
impl Sync for AgentBatchResult
impl Unpin for AgentBatchResult
impl UnsafeUnpin for AgentBatchResult
impl UnwindSafe for AgentBatchResult
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