pub struct SaveMemoryRequest {Show 17 fields
pub text: String,
pub title: Option<String>,
pub project: Option<String>,
pub session_id: Option<String>,
pub host: Option<String>,
pub topic_key: Option<String>,
pub memory_type: Option<String>,
pub files: Option<Vec<String>>,
pub scope: Option<String>,
pub created_at_epoch: Option<i64>,
pub branch: Option<String>,
pub local_path: Option<String>,
pub local_copy_enabled: Option<bool>,
pub claim_enabled: Option<bool>,
pub claim_source: Option<String>,
pub acknowledge_pattern: Option<String>,
pub idempotency_key: Option<String>,
}Fields§
§text: String§title: Option<String>§project: Option<String>§session_id: Option<String>§host: Option<String>§topic_key: Option<String>§memory_type: Option<String>§files: Option<Vec<String>>§scope: Option<String>§created_at_epoch: Option<i64>§branch: Option<String>§local_path: Option<String>§local_copy_enabled: Option<bool>§claim_enabled: Option<bool>§claim_source: Option<String>§acknowledge_pattern: Option<String>§idempotency_key: Option<String>Optional caller-supplied retry identity. Reuse with changed activation input fails closed; omission preserves compatibility with one-shot saves.
Trait Implementations§
Source§impl Clone for SaveMemoryRequest
impl Clone for SaveMemoryRequest
Source§fn clone(&self) -> SaveMemoryRequest
fn clone(&self) -> SaveMemoryRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SaveMemoryRequest
impl Debug for SaveMemoryRequest
Source§impl Default for SaveMemoryRequest
impl Default for SaveMemoryRequest
Source§fn default() -> SaveMemoryRequest
fn default() -> SaveMemoryRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SaveMemoryRequest
impl RefUnwindSafe for SaveMemoryRequest
impl Send for SaveMemoryRequest
impl Sync for SaveMemoryRequest
impl Unpin for SaveMemoryRequest
impl UnsafeUnpin for SaveMemoryRequest
impl UnwindSafe for SaveMemoryRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more