#[non_exhaustive]pub struct GetSpecContentsRequest {
pub name: String,
/* private fields */
}Expand description
The GetSpecContents method’s request.
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 spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Implementations§
Trait Implementations§
Source§impl Clone for GetSpecContentsRequest
impl Clone for GetSpecContentsRequest
Source§fn clone(&self) -> GetSpecContentsRequest
fn clone(&self) -> GetSpecContentsRequest
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 GetSpecContentsRequest
impl Debug for GetSpecContentsRequest
Source§impl Default for GetSpecContentsRequest
impl Default for GetSpecContentsRequest
Source§fn default() -> GetSpecContentsRequest
fn default() -> GetSpecContentsRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSpecContentsRequest
impl Message for GetSpecContentsRequest
Source§impl PartialEq for GetSpecContentsRequest
impl PartialEq for GetSpecContentsRequest
impl StructuralPartialEq for GetSpecContentsRequest
Auto Trait Implementations§
impl Freeze for GetSpecContentsRequest
impl RefUnwindSafe for GetSpecContentsRequest
impl Send for GetSpecContentsRequest
impl Sync for GetSpecContentsRequest
impl Unpin for GetSpecContentsRequest
impl UnsafeUnpin for GetSpecContentsRequest
impl UnwindSafe for GetSpecContentsRequest
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