pub struct AgentSelfCheck {Show 14 fields
pub ip: String,
pub user_agent: String,
pub ja4: String,
pub ja4_source: String,
pub class: String,
pub confidence: f64,
pub action: String,
pub signals: Map<String, Value>,
pub metered: bool,
pub as_of: String,
pub asn: Option<AsnResponse>,
pub geo: Option<GeolocationResponse>,
pub locked: Vec<String>,
pub plan_required: Option<String>,
}Expand description
Response of POST /v1/agentscan/self.
Fields§
§ip: String§user_agent: String§ja4: String§ja4_source: Stringedge, client or unavailable.
class: String§confidence: f64§action: String§signals: Map<String, Value>§metered: bool§as_of: String§asn: Option<AsnResponse>§geo: Option<GeolocationResponse>§locked: Vec<String>§plan_required: Option<String>Trait Implementations§
Source§impl Clone for AgentSelfCheck
impl Clone for AgentSelfCheck
Source§impl Debug for AgentSelfCheck
impl Debug for AgentSelfCheck
Source§impl Default for AgentSelfCheck
impl Default for AgentSelfCheck
Source§impl<'de> Deserialize<'de> for AgentSelfCheckwhere
AgentSelfCheck: Default,
impl<'de> Deserialize<'de> for AgentSelfCheckwhere
AgentSelfCheck: 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 AgentSelfCheck
impl PartialEq for AgentSelfCheck
Source§impl Serialize for AgentSelfCheck
impl Serialize for AgentSelfCheck
impl StructuralPartialEq for AgentSelfCheck
Auto Trait Implementations§
impl Freeze for AgentSelfCheck
impl RefUnwindSafe for AgentSelfCheck
impl Send for AgentSelfCheck
impl Sync for AgentSelfCheck
impl Unpin for AgentSelfCheck
impl UnsafeUnpin for AgentSelfCheck
impl UnwindSafe for AgentSelfCheck
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