#[non_exhaustive]pub struct BatchGetServicesRequest {
pub parent: String,
pub names: Vec<String>,
/* private fields */
}
Expand description
Request 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.parent: String
Parent to retrieve services from.
If this is set, the parent of all of the services specified in names
must
match this field. An example name would be: projects/123
where 123
is
the project number. The BatchGetServices
method currently only supports
projects.
names: Vec<String>
Names of the services to retrieve.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
A single request can get a maximum of 30 services at a time.
Implementations§
Trait Implementations§
Source§impl Clone for BatchGetServicesRequest
impl Clone for BatchGetServicesRequest
Source§fn clone(&self) -> BatchGetServicesRequest
fn clone(&self) -> BatchGetServicesRequest
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 BatchGetServicesRequest
impl Debug for BatchGetServicesRequest
Source§impl Default for BatchGetServicesRequest
impl Default for BatchGetServicesRequest
Source§fn default() -> BatchGetServicesRequest
fn default() -> BatchGetServicesRequest
Returns the “default value” for a type. Read more
Source§impl Message for BatchGetServicesRequest
impl Message for BatchGetServicesRequest
Source§impl PartialEq for BatchGetServicesRequest
impl PartialEq for BatchGetServicesRequest
impl StructuralPartialEq for BatchGetServicesRequest
Auto Trait Implementations§
impl Freeze for BatchGetServicesRequest
impl RefUnwindSafe for BatchGetServicesRequest
impl Send for BatchGetServicesRequest
impl Sync for BatchGetServicesRequest
impl Unpin for BatchGetServicesRequest
impl UnwindSafe for BatchGetServicesRequest
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