#[non_exhaustive]pub struct GetGeneratorRequest {
pub name: String,
/* private fields */
}Available on crate feature
generators only.Expand description
Request message of GetGenerator.
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.name: StringRequired. The generator resource name to retrieve. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Implementations§
Trait Implementations§
Source§impl Clone for GetGeneratorRequest
impl Clone for GetGeneratorRequest
Source§fn clone(&self) -> GetGeneratorRequest
fn clone(&self) -> GetGeneratorRequest
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 GetGeneratorRequest
impl Debug for GetGeneratorRequest
Source§impl Default for GetGeneratorRequest
impl Default for GetGeneratorRequest
Source§fn default() -> GetGeneratorRequest
fn default() -> GetGeneratorRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetGeneratorRequest
impl Message for GetGeneratorRequest
Source§impl PartialEq for GetGeneratorRequest
impl PartialEq for GetGeneratorRequest
impl StructuralPartialEq for GetGeneratorRequest
Auto Trait Implementations§
impl Freeze for GetGeneratorRequest
impl RefUnwindSafe for GetGeneratorRequest
impl Send for GetGeneratorRequest
impl Sync for GetGeneratorRequest
impl Unpin for GetGeneratorRequest
impl UnwindSafe for GetGeneratorRequest
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