Skip to main content

AgentResponse

Struct AgentResponse 

Source
pub struct AgentResponse {
Show 29 fields pub sekuire_id: String, pub public_key: String, pub name: String, pub version: String, pub description: Option<String>, pub created_at: String, pub verification_status: VerificationStatus, pub reputation_score: i32, pub manifest: Option<Value>, pub updated_at: Option<String>, pub publisher_user_id: Option<String>, pub publisher_email: Option<String>, pub publisher_name: Option<String>, pub publisher_org_id: Option<String>, pub publisher_org_name: Option<String>, pub org_metadata: Option<Value>, pub visibility: Option<AgentVisibility>, pub public_url: Option<String>, pub git_repository: Option<String>, pub commit_hash: Option<String>, pub tag: Option<String>, pub repository_verified: Option<bool>, pub readme_content: Option<String>, pub changelog_content: Option<String>, pub code_review_status: Option<String>, pub security_score: Option<i32>, pub reviewed_by: Option<String>, pub reviewed_at: Option<String>, pub review_notes: Option<String>,
}

Fields§

§sekuire_id: String§public_key: String§name: String§version: String§description: Option<String>§created_at: String§verification_status: VerificationStatus§reputation_score: i32§manifest: Option<Value>§updated_at: Option<String>§publisher_user_id: Option<String>§publisher_email: Option<String>§publisher_name: Option<String>§publisher_org_id: Option<String>§publisher_org_name: Option<String>§org_metadata: Option<Value>§visibility: Option<AgentVisibility>§public_url: Option<String>§git_repository: Option<String>§commit_hash: Option<String>§tag: Option<String>§repository_verified: Option<bool>§readme_content: Option<String>§changelog_content: Option<String>§code_review_status: Option<String>§security_score: Option<i32>§reviewed_by: Option<String>§reviewed_at: Option<String>§review_notes: Option<String>

Trait Implementations§

Source§

impl Debug for AgentResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AgentResponse

Source§

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 JsonSchema for AgentResponse

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

impl Serialize for AgentResponse

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,