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