#[non_exhaustive]pub struct MemoryRedactInput {
pub org: Option<String>,
pub memory_id: String,
pub version: MemoryRedactInputVersion,
pub reason: Option<String>,
pub redacted_by: 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.org: Option<String>§memory_id: String§version: MemoryRedactInputVersion§reason: Option<String>§redacted_by: Option<String>Implementations§
Source§impl MemoryRedactInput
impl MemoryRedactInput
pub fn new( memory_id: impl Into<String>, version: MemoryRedactInputVersion, ) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn reason(self, reason: impl Into<String>) -> Self
pub fn redacted_by(self, redacted_by: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryRedactOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryRedactInput
impl Clone for MemoryRedactInput
Source§impl Debug for MemoryRedactInput
impl Debug for MemoryRedactInput
Source§impl<'de> Deserialize<'de> for MemoryRedactInput
impl<'de> Deserialize<'de> for MemoryRedactInput
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 MemoryRedactInput
impl PartialEq for MemoryRedactInput
Source§impl Serialize for MemoryRedactInput
impl Serialize for MemoryRedactInput
impl StructuralPartialEq for MemoryRedactInput
Auto Trait Implementations§
impl Forget for MemoryRedactInput
impl Freeze for MemoryRedactInput
impl Move for MemoryRedactInput
impl RefUnwindSafe for MemoryRedactInput
impl Send for MemoryRedactInput
impl Sync for MemoryRedactInput
impl Unpin for MemoryRedactInput
impl UnsafeUnpin for MemoryRedactInput
impl UnwindSafe for MemoryRedactInput
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