#[non_exhaustive]pub struct ApplyFilter {
pub memory_type: Option<Option<String>>,
pub tags_any: Option<Vec<String>>,
pub tags_all: Option<Vec<String>>,
pub key_prefix: Option<Option<String>>,
pub created_before: Option<Option<String>>,
pub created_after: Option<Option<String>>,
pub confidence_lte: Option<Option<f64>>,
pub source_trace: Option<Option<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.memory_type: Option<Option<String>>§key_prefix: Option<Option<String>>§created_before: Option<Option<String>>§created_after: Option<Option<String>>§confidence_lte: Option<Option<f64>>§source_trace: Option<Option<String>>Implementations§
Source§impl ApplyFilter
impl ApplyFilter
pub fn new() -> Self
pub fn memory_type(self, memory_type: impl Into<String>) -> Self
pub fn memory_type_null(self) -> Self
pub fn key_prefix(self, key_prefix: impl Into<String>) -> Self
pub fn key_prefix_null(self) -> Self
pub fn created_before(self, created_before: impl Into<String>) -> Self
pub fn created_before_null(self) -> Self
pub fn created_after(self, created_after: impl Into<String>) -> Self
pub fn created_after_null(self) -> Self
pub fn confidence_lte(self, confidence_lte: f64) -> Self
pub fn confidence_lte_null(self) -> Self
pub fn source_trace(self, source_trace: impl Into<String>) -> Self
pub fn source_trace_null(self) -> Self
Trait Implementations§
Source§impl Clone for ApplyFilter
impl Clone for ApplyFilter
Source§impl Debug for ApplyFilter
impl Debug for ApplyFilter
Source§impl Default for ApplyFilter
impl Default for ApplyFilter
Source§impl<'de> Deserialize<'de> for ApplyFilter
impl<'de> Deserialize<'de> for ApplyFilter
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 ApplyFilter
impl PartialEq for ApplyFilter
Source§impl Serialize for ApplyFilter
impl Serialize for ApplyFilter
impl StructuralPartialEq for ApplyFilter
Auto Trait Implementations§
impl Forget for ApplyFilter
impl Freeze for ApplyFilter
impl Move for ApplyFilter
impl RefUnwindSafe for ApplyFilter
impl Send for ApplyFilter
impl Sync for ApplyFilter
impl Unpin for ApplyFilter
impl UnsafeUnpin for ApplyFilter
impl UnwindSafe for ApplyFilter
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