pub struct BulkEvent {Show 25 fields
pub kind: String,
pub index: i64,
pub total: i64,
pub input: String,
pub reason: String,
pub message: String,
pub error: String,
pub ip: String,
pub verdict: String,
pub classification: String,
pub confidence: f64,
pub anonymized: bool,
pub vpn_provider: String,
pub score: i64,
pub grade: String,
pub is_tor_exit: bool,
pub asn: String,
pub asn_name: String,
pub asn_type: String,
pub country: String,
pub processed: i64,
pub failed: i64,
pub metered: i64,
pub plan_required: String,
pub locked: Vec<String>,
}Expand description
One line of the POST /v1/ip/bulk NDJSON stream. Missing and null fields are zero values.
Fields§
§kind: Stringmeta, result, error or done.
index: i64§total: i64§input: String§reason: String§message: String§error: String§ip: String§verdict: String§classification: String§confidence: f64§anonymized: bool§vpn_provider: String§score: i64§grade: String§is_tor_exit: bool§asn: String§asn_name: String§asn_type: String§country: String§processed: i64§failed: i64§metered: i64§plan_required: StringSet on the meta line when result lines are locked.
locked: Vec<String>Fields of a result line nulled because of the plan.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BulkEvent
impl<'de> Deserialize<'de> for BulkEvent
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 BulkEvent
Auto Trait Implementations§
impl Freeze for BulkEvent
impl RefUnwindSafe for BulkEvent
impl Send for BulkEvent
impl Sync for BulkEvent
impl Unpin for BulkEvent
impl UnsafeUnpin for BulkEvent
impl UnwindSafe for BulkEvent
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