pub struct AwpDiscoveryDocument {
pub version: AwpVersion,
pub site_name: String,
pub site_description: String,
pub capability_manifest_url: String,
pub a2a_endpoint_url: String,
pub events_endpoint_url: String,
pub health_endpoint_url: String,
pub supported_trust_levels: Vec<TrustLevel>,
}Expand description
AWP discovery document served at /.well-known/awp.json.
Describes a site’s AWP capabilities, version, and endpoint URLs.
Fields§
§version: AwpVersion§site_name: String§site_description: String§capability_manifest_url: String§a2a_endpoint_url: String§events_endpoint_url: String§health_endpoint_url: String§supported_trust_levels: Vec<TrustLevel>Trait Implementations§
Source§impl Clone for AwpDiscoveryDocument
impl Clone for AwpDiscoveryDocument
Source§fn clone(&self) -> AwpDiscoveryDocument
fn clone(&self) -> AwpDiscoveryDocument
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 AwpDiscoveryDocument
impl Debug for AwpDiscoveryDocument
Source§impl<'de> Deserialize<'de> for AwpDiscoveryDocument
impl<'de> Deserialize<'de> for AwpDiscoveryDocument
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 AwpDiscoveryDocument
impl PartialEq for AwpDiscoveryDocument
Source§fn eq(&self, other: &AwpDiscoveryDocument) -> bool
fn eq(&self, other: &AwpDiscoveryDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AwpDiscoveryDocument
impl Serialize for AwpDiscoveryDocument
impl StructuralPartialEq for AwpDiscoveryDocument
Auto Trait Implementations§
impl Freeze for AwpDiscoveryDocument
impl RefUnwindSafe for AwpDiscoveryDocument
impl Send for AwpDiscoveryDocument
impl Sync for AwpDiscoveryDocument
impl Unpin for AwpDiscoveryDocument
impl UnsafeUnpin for AwpDiscoveryDocument
impl UnwindSafe for AwpDiscoveryDocument
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