#[non_exhaustive]pub struct GetProductRequest {
pub name: String,
/* private fields */
}Expand description
Request message for ProductService.GetProduct 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.name: StringRequired. Full resource name of Product,
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested Product does not exist, a NOT_FOUND error is returned.
Implementations§
Trait Implementations§
Source§impl Clone for GetProductRequest
impl Clone for GetProductRequest
Source§fn clone(&self) -> GetProductRequest
fn clone(&self) -> GetProductRequest
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 GetProductRequest
impl Debug for GetProductRequest
Source§impl Default for GetProductRequest
impl Default for GetProductRequest
Source§fn default() -> GetProductRequest
fn default() -> GetProductRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetProductRequest
impl Message for GetProductRequest
Source§impl PartialEq for GetProductRequest
impl PartialEq for GetProductRequest
impl StructuralPartialEq for GetProductRequest
Auto Trait Implementations§
impl Freeze for GetProductRequest
impl RefUnwindSafe for GetProductRequest
impl Send for GetProductRequest
impl Sync for GetProductRequest
impl Unpin for GetProductRequest
impl UnsafeUnpin for GetProductRequest
impl UnwindSafe for GetProductRequest
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