#[non_exhaustive]pub struct MemoryOutcomeRunInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub outcome: MemoryOutcomeRunInputOutcome,
pub memory_keys: Option<Vec<String>>,
pub run_id: Option<String>,
pub weight: Option<Integer>,
pub source: Option<String>,
pub max_keys: Option<Integer>,
}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>§outcome: MemoryOutcomeRunInputOutcome§memory_keys: Option<Vec<String>>§run_id: Option<String>§weight: Option<Integer>§source: Option<String>§max_keys: Option<Integer>Implementations§
Source§impl MemoryOutcomeRunInput
impl MemoryOutcomeRunInput
pub fn new(outcome: MemoryOutcomeRunInputOutcome) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn memory_keys( self, memory_keys: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn run_id(self, run_id: impl Into<String>) -> Self
pub fn weight(self, weight: impl Into<Integer>) -> Self
pub fn source(self, source: impl Into<String>) -> Self
pub fn max_keys(self, max_keys: impl Into<Integer>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryOutcomeRunOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryOutcomeRunInput
impl Clone for MemoryOutcomeRunInput
Source§impl Debug for MemoryOutcomeRunInput
impl Debug for MemoryOutcomeRunInput
Source§impl<'de> Deserialize<'de> for MemoryOutcomeRunInput
impl<'de> Deserialize<'de> for MemoryOutcomeRunInput
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 MemoryOutcomeRunInput
impl PartialEq for MemoryOutcomeRunInput
Source§impl Serialize for MemoryOutcomeRunInput
impl Serialize for MemoryOutcomeRunInput
impl StructuralPartialEq for MemoryOutcomeRunInput
Auto Trait Implementations§
impl Forget for MemoryOutcomeRunInput
impl Freeze for MemoryOutcomeRunInput
impl Move for MemoryOutcomeRunInput
impl RefUnwindSafe for MemoryOutcomeRunInput
impl Send for MemoryOutcomeRunInput
impl Sync for MemoryOutcomeRunInput
impl Unpin for MemoryOutcomeRunInput
impl UnsafeUnpin for MemoryOutcomeRunInput
impl UnwindSafe for MemoryOutcomeRunInput
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