#[non_exhaustive]pub struct EnableServiceResponse {
pub service: Option<Service>,
/* private fields */
}
Expand description
Response message for the EnableService
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 enabling.
Implementations§
Trait Implementations§
Source§impl Clone for EnableServiceResponse
impl Clone for EnableServiceResponse
Source§fn clone(&self) -> EnableServiceResponse
fn clone(&self) -> EnableServiceResponse
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 EnableServiceResponse
impl Debug for EnableServiceResponse
Source§impl Default for EnableServiceResponse
impl Default for EnableServiceResponse
Source§fn default() -> EnableServiceResponse
fn default() -> EnableServiceResponse
Returns the “default value” for a type. Read more
Source§impl Message for EnableServiceResponse
impl Message for EnableServiceResponse
Source§impl PartialEq for EnableServiceResponse
impl PartialEq for EnableServiceResponse
impl StructuralPartialEq for EnableServiceResponse
Auto Trait Implementations§
impl Freeze for EnableServiceResponse
impl RefUnwindSafe for EnableServiceResponse
impl Send for EnableServiceResponse
impl Sync for EnableServiceResponse
impl Unpin for EnableServiceResponse
impl UnwindSafe for EnableServiceResponse
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