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