#[non_exhaustive]pub struct DisableServiceResponse {
pub service: Option<Service>,
/* private fields */
}
Expand description
Response message for the DisableService
method.
This response message is assigned to the response
field of the returned
Operation when that operation is done.
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.service: Option<Service>
The new state of the service after disabling.
Implementations§
Trait Implementations§
Source§impl Clone for DisableServiceResponse
impl Clone for DisableServiceResponse
Source§fn clone(&self) -> DisableServiceResponse
fn clone(&self) -> DisableServiceResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DisableServiceResponse
impl Debug for DisableServiceResponse
Source§impl Default for DisableServiceResponse
impl Default for DisableServiceResponse
Source§fn default() -> DisableServiceResponse
fn default() -> DisableServiceResponse
Returns the “default value” for a type. Read more
Source§impl Message for DisableServiceResponse
impl Message for DisableServiceResponse
Source§impl PartialEq for DisableServiceResponse
impl PartialEq for DisableServiceResponse
impl StructuralPartialEq for DisableServiceResponse
Auto Trait Implementations§
impl Freeze for DisableServiceResponse
impl RefUnwindSafe for DisableServiceResponse
impl Send for DisableServiceResponse
impl Sync for DisableServiceResponse
impl Unpin for DisableServiceResponse
impl UnwindSafe for DisableServiceResponse
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