#[non_exhaustive]pub struct MemoryListInput {Show 27 fields
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub session_id: Option<String>,
pub run_id: Option<String>,
pub prefix: Option<Option<String>>,
pub memory_type: Option<Option<String>>,
pub source_trace: Option<Option<String>>,
pub limit: Option<Integer>,
pub offset: Option<Integer>,
pub count_only: Option<bool>,
pub preview_chars: Option<Integer>,
pub sort_by: Option<MemoryListInputSortBy>,
pub quotas: Option<Option<HashMap<String, Integer>>>,
pub include_tombstoned: Option<bool>,
pub include_duplicates: Option<bool>,
pub include_superseded: Option<bool>,
pub include_proposed: Option<bool>,
pub as_of: Option<Option<String>>,
pub tags: Option<Vec<String>>,
pub tags_every: Option<bool>,
pub contains: Option<Option<String>>,
pub pinned_only: Option<bool>,
pub conflicted_only: Option<bool>,
pub fields: Option<Vec<String>>,
pub known_version: Option<Option<MemoryListInputKnownVersion>>,
}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.org: Option<String>§namespace: Option<String>§agent: Option<String>§user_id: Option<String>§session_id: Option<String>§run_id: Option<String>§prefix: Option<Option<String>>§memory_type: Option<Option<String>>§source_trace: Option<Option<String>>§limit: Option<Integer>§offset: Option<Integer>§count_only: Option<bool>§preview_chars: Option<Integer>§sort_by: Option<MemoryListInputSortBy>§quotas: Option<Option<HashMap<String, Integer>>>§include_tombstoned: Option<bool>§include_duplicates: Option<bool>§include_superseded: Option<bool>§include_proposed: Option<bool>§as_of: Option<Option<String>>§contains: Option<Option<String>>§pinned_only: Option<bool>§conflicted_only: Option<bool>§fields: Option<Vec<String>>§known_version: Option<Option<MemoryListInputKnownVersion>>Implementations§
Source§impl MemoryListInput
impl MemoryListInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn session_id(self, session_id: impl Into<String>) -> Self
pub fn run_id(self, run_id: impl Into<String>) -> Self
pub fn prefix(self, prefix: impl Into<String>) -> Self
pub fn prefix_null(self) -> Self
pub fn memory_type(self, memory_type: impl Into<String>) -> Self
pub fn memory_type_null(self) -> Self
pub fn source_trace(self, source_trace: impl Into<String>) -> Self
pub fn source_trace_null(self) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn offset(self, offset: impl Into<Integer>) -> Self
pub fn count_only(self, count_only: bool) -> Self
pub fn preview_chars(self, preview_chars: impl Into<Integer>) -> Self
pub fn sort_by(self, sort_by: MemoryListInputSortBy) -> Self
pub fn quotas(self, quotas: HashMap<String, Integer>) -> Self
pub fn quotas_null(self) -> Self
pub fn include_tombstoned(self, include_tombstoned: bool) -> Self
pub fn include_duplicates(self, include_duplicates: bool) -> Self
pub fn include_superseded(self, include_superseded: bool) -> Self
pub fn include_proposed(self, include_proposed: bool) -> Self
pub fn as_of(self, as_of: impl Into<String>) -> Self
pub fn as_of_null(self) -> Self
pub fn contains(self, contains: impl Into<String>) -> Self
pub fn contains_null(self) -> Self
pub fn pinned_only(self, pinned_only: bool) -> Self
pub fn conflicted_only(self, conflicted_only: bool) -> Self
pub fn fields(self, fields: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn known_version(self, known_version: MemoryListInputKnownVersion) -> Self
pub fn known_version_null(self) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryListOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryListInput
impl Clone for MemoryListInput
Source§impl Debug for MemoryListInput
impl Debug for MemoryListInput
Source§impl Default for MemoryListInput
impl Default for MemoryListInput
Source§impl<'de> Deserialize<'de> for MemoryListInput
impl<'de> Deserialize<'de> for MemoryListInput
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 MemoryListInput
impl PartialEq for MemoryListInput
Source§impl Serialize for MemoryListInput
impl Serialize for MemoryListInput
impl StructuralPartialEq for MemoryListInput
Auto Trait Implementations§
impl Forget for MemoryListInput
impl Freeze for MemoryListInput
impl Move for MemoryListInput
impl RefUnwindSafe for MemoryListInput
impl Send for MemoryListInput
impl Sync for MemoryListInput
impl Unpin for MemoryListInput
impl UnsafeUnpin for MemoryListInput
impl UnwindSafe for MemoryListInput
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