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