#[non_exhaustive]pub struct GetExampleRequest {
pub name: String,
/* private fields */
}Available on crate feature
examples only.Expand description
The request message for Examples.GetExample.
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 example.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/examples/<ExampleID>.
Implementations§
Trait Implementations§
Source§impl Clone for GetExampleRequest
impl Clone for GetExampleRequest
Source§fn clone(&self) -> GetExampleRequest
fn clone(&self) -> GetExampleRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetExampleRequest
impl Debug for GetExampleRequest
Source§impl Default for GetExampleRequest
impl Default for GetExampleRequest
Source§fn default() -> GetExampleRequest
fn default() -> GetExampleRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetExampleRequest
impl Message for GetExampleRequest
Source§impl PartialEq for GetExampleRequest
impl PartialEq for GetExampleRequest
Source§fn eq(&self, other: &GetExampleRequest) -> bool
fn eq(&self, other: &GetExampleRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetExampleRequest
Auto Trait Implementations§
impl Freeze for GetExampleRequest
impl RefUnwindSafe for GetExampleRequest
impl Send for GetExampleRequest
impl Sync for GetExampleRequest
impl Unpin for GetExampleRequest
impl UnsafeUnpin for GetExampleRequest
impl UnwindSafe for GetExampleRequest
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