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