pub struct BehavioralFeedQuery {
pub capability_id: Option<String>,
pub agent_subject: Option<String>,
pub tool_server: Option<String>,
pub tool_name: Option<String>,
pub since: Option<u64>,
pub until: Option<u64>,
pub receipt_limit: Option<usize>,
}Expand description
Filter surface for the signed insurer/risk behavioral feed export.
Fields§
§capability_id: Option<String>§agent_subject: Option<String>§tool_server: Option<String>§tool_name: Option<String>§since: Option<u64>§until: Option<u64>§receipt_limit: Option<usize>Implementations§
Source§impl BehavioralFeedQuery
impl BehavioralFeedQuery
pub fn receipt_limit_or_default(&self) -> usize
pub fn normalized(&self) -> Self
pub fn to_operator_report_query(&self) -> OperatorReportQuery
pub fn to_receipt_query(&self) -> ReceiptQuery
Trait Implementations§
Source§impl Clone for BehavioralFeedQuery
impl Clone for BehavioralFeedQuery
Source§fn clone(&self) -> BehavioralFeedQuery
fn clone(&self) -> BehavioralFeedQuery
Returns a duplicate of the value. Read more
1.0.0 · 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 BehavioralFeedQuery
impl Debug for BehavioralFeedQuery
Source§impl Default for BehavioralFeedQuery
impl Default for BehavioralFeedQuery
Source§impl<'de> Deserialize<'de> for BehavioralFeedQuery
impl<'de> Deserialize<'de> for BehavioralFeedQuery
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 BehavioralFeedQuery
impl PartialEq for BehavioralFeedQuery
Source§impl Serialize for BehavioralFeedQuery
impl Serialize for BehavioralFeedQuery
impl Eq for BehavioralFeedQuery
impl StructuralPartialEq for BehavioralFeedQuery
Auto Trait Implementations§
impl Freeze for BehavioralFeedQuery
impl RefUnwindSafe for BehavioralFeedQuery
impl Send for BehavioralFeedQuery
impl Sync for BehavioralFeedQuery
impl Unpin for BehavioralFeedQuery
impl UnsafeUnpin for BehavioralFeedQuery
impl UnwindSafe for BehavioralFeedQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.