#[non_exhaustive]pub struct TrainAgentRequest {
pub parent: String,
/* private fields */
}Available on crate feature
agents only.Expand description
The request message for Agents.TrainAgent.
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.parent: StringRequired. The project that the agent to train is associated with.
Format: projects/<Project ID>.
Implementations§
Trait Implementations§
Source§impl Clone for TrainAgentRequest
impl Clone for TrainAgentRequest
Source§fn clone(&self) -> TrainAgentRequest
fn clone(&self) -> TrainAgentRequest
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 TrainAgentRequest
impl Debug for TrainAgentRequest
Source§impl Default for TrainAgentRequest
impl Default for TrainAgentRequest
Source§fn default() -> TrainAgentRequest
fn default() -> TrainAgentRequest
Returns the “default value” for a type. Read more
Source§impl Message for TrainAgentRequest
impl Message for TrainAgentRequest
Source§impl PartialEq for TrainAgentRequest
impl PartialEq for TrainAgentRequest
impl StructuralPartialEq for TrainAgentRequest
Auto Trait Implementations§
impl Freeze for TrainAgentRequest
impl RefUnwindSafe for TrainAgentRequest
impl Send for TrainAgentRequest
impl Sync for TrainAgentRequest
impl Unpin for TrainAgentRequest
impl UnwindSafe for TrainAgentRequest
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