pub struct UploadAgentResponse {
pub success: bool,
pub message: String,
pub agent: Option<Agent>,
pub validation_errors: Option<Vec<ValidationError>>,
}Expand description
Response from uploading an agent
Fields§
§success: bool§message: String§agent: Option<Agent>§validation_errors: Option<Vec<ValidationError>>Trait Implementations§
Source§impl Debug for UploadAgentResponse
impl Debug for UploadAgentResponse
Source§impl<'de> Deserialize<'de> for UploadAgentResponse
impl<'de> Deserialize<'de> for UploadAgentResponse
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
Auto Trait Implementations§
impl Freeze for UploadAgentResponse
impl RefUnwindSafe for UploadAgentResponse
impl Send for UploadAgentResponse
impl Sync for UploadAgentResponse
impl Unpin for UploadAgentResponse
impl UnwindSafe for UploadAgentResponse
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