pub struct CreateAgentBody { /* private fields */ }Implementations§
Source§impl CreateAgentBody
impl CreateAgentBody
pub fn adapter_type<T>(self, value: T) -> Self
pub fn budget_monthly_cents<T>(self, value: T) -> Self
pub fn heartbeat_interval_secs<T>(self, value: T) -> Self
pub fn instructions_path<T>(self, value: T) -> Self
pub fn model<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn role<T>(self, value: T) -> Self
pub fn slug<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CreateAgentBody
impl Clone for CreateAgentBody
Source§fn clone(&self) -> CreateAgentBody
fn clone(&self) -> CreateAgentBody
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 CreateAgentBody
impl Debug for CreateAgentBody
Source§impl Default for CreateAgentBody
impl Default for CreateAgentBody
Source§impl From<CreateAgentBody> for CreateAgentBody
impl From<CreateAgentBody> for CreateAgentBody
Source§fn from(value: CreateAgentBody) -> Self
fn from(value: CreateAgentBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateAgentBody> for CreateAgentBody
impl TryFrom<CreateAgentBody> for CreateAgentBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateAgentBody) -> Result<Self, ConversionError>
fn try_from(value: CreateAgentBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateAgentBody
impl RefUnwindSafe for CreateAgentBody
impl Send for CreateAgentBody
impl Sync for CreateAgentBody
impl Unpin for CreateAgentBody
impl UnsafeUnpin for CreateAgentBody
impl UnwindSafe for CreateAgentBody
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