#[non_exhaustive]pub struct GetRevisionRequest {
pub name: String,
/* private fields */
}Expand description
A request to get a Revision from a ‘GetRevision’ call.
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 name of the Revision in the format: ‘projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}’.
Implementations§
Trait Implementations§
Source§impl Clone for GetRevisionRequest
impl Clone for GetRevisionRequest
Source§fn clone(&self) -> GetRevisionRequest
fn clone(&self) -> GetRevisionRequest
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 GetRevisionRequest
impl Debug for GetRevisionRequest
Source§impl Default for GetRevisionRequest
impl Default for GetRevisionRequest
Source§fn default() -> GetRevisionRequest
fn default() -> GetRevisionRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetRevisionRequest
impl Message for GetRevisionRequest
Source§impl PartialEq for GetRevisionRequest
impl PartialEq for GetRevisionRequest
impl StructuralPartialEq for GetRevisionRequest
Auto Trait Implementations§
impl Freeze for GetRevisionRequest
impl RefUnwindSafe for GetRevisionRequest
impl Send for GetRevisionRequest
impl Sync for GetRevisionRequest
impl Unpin for GetRevisionRequest
impl UnsafeUnpin for GetRevisionRequest
impl UnwindSafe for GetRevisionRequest
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