#[non_exhaustive]pub struct BatchEnableServicesResponse {
pub services: Vec<Service>,
pub failures: Vec<EnableFailure>,
/* private fields */
}
Expand description
Response message for the BatchEnableServices
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.services: Vec<Service>
The new state of the services after enabling.
failures: Vec<EnableFailure>
If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.
Implementations§
Source§impl BatchEnableServicesResponse
impl BatchEnableServicesResponse
pub fn new() -> Self
Sourcepub fn set_services<T, V>(self, v: T) -> Self
pub fn set_services<T, V>(self, v: T) -> Self
Sets the value of services.
Sourcepub fn set_failures<T, V>(self, v: T) -> Self
pub fn set_failures<T, V>(self, v: T) -> Self
Sets the value of failures.
Trait Implementations§
Source§impl Clone for BatchEnableServicesResponse
impl Clone for BatchEnableServicesResponse
Source§fn clone(&self) -> BatchEnableServicesResponse
fn clone(&self) -> BatchEnableServicesResponse
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 BatchEnableServicesResponse
impl Debug for BatchEnableServicesResponse
Source§impl Default for BatchEnableServicesResponse
impl Default for BatchEnableServicesResponse
Source§fn default() -> BatchEnableServicesResponse
fn default() -> BatchEnableServicesResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for BatchEnableServicesResponse
Auto Trait Implementations§
impl Freeze for BatchEnableServicesResponse
impl RefUnwindSafe for BatchEnableServicesResponse
impl Send for BatchEnableServicesResponse
impl Sync for BatchEnableServicesResponse
impl Unpin for BatchEnableServicesResponse
impl UnwindSafe for BatchEnableServicesResponse
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