pub struct UpdateAgent {
pub name: Option<String>,
pub description: Option<String>,
pub access_type: Option<AccessType>,
pub status: Option<Status>,
pub token_package_id: Option<f64>,
pub settings: Option<Box<UpdateAgentSettings>>,
pub project_id: Option<f64>,
}Expand description
UpdateAgent : Данные для обновления AI агента
Fields§
§name: Option<String>Название агента
description: Option<String>Описание агента
access_type: Option<AccessType>Тип доступа к агенту
status: Option<Status>Статус агента
token_package_id: Option<f64>ID пакета токенов
settings: Option<Box<UpdateAgentSettings>>§project_id: Option<f64>ID проекта
Implementations§
Source§impl UpdateAgent
impl UpdateAgent
Sourcepub fn new() -> UpdateAgent
pub fn new() -> UpdateAgent
Данные для обновления AI агента
Trait Implementations§
Source§impl Clone for UpdateAgent
impl Clone for UpdateAgent
Source§fn clone(&self) -> UpdateAgent
fn clone(&self) -> UpdateAgent
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 UpdateAgent
impl Debug for UpdateAgent
Source§impl Default for UpdateAgent
impl Default for UpdateAgent
Source§fn default() -> UpdateAgent
fn default() -> UpdateAgent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAgent
impl<'de> Deserialize<'de> for UpdateAgent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateAgent
impl PartialEq for UpdateAgent
Source§fn eq(&self, other: &UpdateAgent) -> bool
fn eq(&self, other: &UpdateAgent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateAgent
impl Serialize for UpdateAgent
impl StructuralPartialEq for UpdateAgent
Auto Trait Implementations§
impl Freeze for UpdateAgent
impl RefUnwindSafe for UpdateAgent
impl Send for UpdateAgent
impl Sync for UpdateAgent
impl Unpin for UpdateAgent
impl UnsafeUnpin for UpdateAgent
impl UnwindSafe for UpdateAgent
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