#[non_exhaustive]pub struct MemoryCrossPromoteInput {
pub from_org: String,
pub from_namespace: String,
pub from_memory_id: String,
pub to_namespace: String,
pub target_key: Option<Option<String>>,
pub target_agent: Option<String>,
pub rationale: 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.from_org: String§from_namespace: String§from_memory_id: String§to_namespace: String§target_key: Option<Option<String>>§target_agent: Option<String>§rationale: Option<String>Implementations§
Source§impl MemoryCrossPromoteInput
impl MemoryCrossPromoteInput
pub fn new( from_org: impl Into<String>, from_namespace: impl Into<String>, from_memory_id: impl Into<String>, to_namespace: impl Into<String>, ) -> Self
pub fn target_key(self, target_key: impl Into<String>) -> Self
pub fn target_key_null(self) -> Self
pub fn target_agent(self, target_agent: impl Into<String>) -> Self
pub fn rationale(self, rationale: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryCrossPromoteOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryCrossPromoteInput
impl Clone for MemoryCrossPromoteInput
Source§impl Debug for MemoryCrossPromoteInput
impl Debug for MemoryCrossPromoteInput
Source§impl<'de> Deserialize<'de> for MemoryCrossPromoteInput
impl<'de> Deserialize<'de> for MemoryCrossPromoteInput
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 MemoryCrossPromoteInput
impl PartialEq for MemoryCrossPromoteInput
Source§impl Serialize for MemoryCrossPromoteInput
impl Serialize for MemoryCrossPromoteInput
impl StructuralPartialEq for MemoryCrossPromoteInput
Auto Trait Implementations§
impl Forget for MemoryCrossPromoteInput
impl Freeze for MemoryCrossPromoteInput
impl Move for MemoryCrossPromoteInput
impl RefUnwindSafe for MemoryCrossPromoteInput
impl Send for MemoryCrossPromoteInput
impl Sync for MemoryCrossPromoteInput
impl Unpin for MemoryCrossPromoteInput
impl UnsafeUnpin for MemoryCrossPromoteInput
impl UnwindSafe for MemoryCrossPromoteInput
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