#[non_exhaustive]pub struct MemoryUpdateByIdInput {
pub org: Option<String>,
pub memory_id: String,
pub value: Option<Value>,
pub tags: Option<Option<Vec<String>>>,
pub concepts: Option<Option<Vec<String>>>,
pub if_match_sha256: Option<String>,
pub char_limit: Option<Option<Integer>>,
pub revive: Option<bool>,
pub relations: Option<Vec<(String, String, 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.org: Option<String>§memory_id: String§value: Option<Value>§concepts: Option<Option<Vec<String>>>§if_match_sha256: Option<String>§char_limit: Option<Option<Integer>>§revive: Option<bool>§relations: Option<Vec<(String, String, String)>>Implementations§
Source§impl MemoryUpdateByIdInput
impl MemoryUpdateByIdInput
pub fn new(memory_id: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn value(self, value: impl Into<Value>) -> Self
pub fn concepts( self, concepts: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn concepts_null(self) -> Self
pub fn if_match_sha256(self, if_match_sha256: impl Into<String>) -> Self
pub fn char_limit(self, char_limit: impl Into<Integer>) -> Self
pub fn char_limit_null(self) -> Self
pub fn revive(self, revive: bool) -> Self
pub fn relations(self, relations: Vec<(String, String, String)>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryUpdateByIdOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryUpdateByIdInput
impl Clone for MemoryUpdateByIdInput
Source§impl Debug for MemoryUpdateByIdInput
impl Debug for MemoryUpdateByIdInput
Source§impl<'de> Deserialize<'de> for MemoryUpdateByIdInput
impl<'de> Deserialize<'de> for MemoryUpdateByIdInput
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 MemoryUpdateByIdInput
impl PartialEq for MemoryUpdateByIdInput
Source§impl Serialize for MemoryUpdateByIdInput
impl Serialize for MemoryUpdateByIdInput
impl StructuralPartialEq for MemoryUpdateByIdInput
Auto Trait Implementations§
impl Forget for MemoryUpdateByIdInput
impl Freeze for MemoryUpdateByIdInput
impl Move for MemoryUpdateByIdInput
impl RefUnwindSafe for MemoryUpdateByIdInput
impl Send for MemoryUpdateByIdInput
impl Sync for MemoryUpdateByIdInput
impl Unpin for MemoryUpdateByIdInput
impl UnsafeUnpin for MemoryUpdateByIdInput
impl UnwindSafe for MemoryUpdateByIdInput
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