pub struct ServiceDocument {Show 18 fields
pub branding: Option<ServiceBranding>,
pub description: String,
pub documentation_url: String,
pub http: HttpConfiguration,
pub keywords: Vec<String>,
pub language: String,
pub localizations: Vec<String>,
pub mcp: Vec<McpEndpoint>,
pub name: String,
pub odp_version: String,
pub operations: Vec<OperationDescriptor>,
pub payment_origins: Vec<String>,
pub protocols: Option<ServiceProtocols>,
pub search_capabilities: Option<SearchCapabilities>,
pub status_url: String,
pub support_url: String,
pub website_url: String,
pub additional: AdditionalMembers,
}Fields§
§branding: Option<ServiceBranding>§description: String§documentation_url: String§http: HttpConfiguration§keywords: Vec<String>§language: String§localizations: Vec<String>§mcp: Vec<McpEndpoint>§name: String§odp_version: String§operations: Vec<OperationDescriptor>§payment_origins: Vec<String>§protocols: Option<ServiceProtocols>§search_capabilities: Option<SearchCapabilities>§status_url: String§support_url: String§website_url: String§additional: AdditionalMembersTrait Implementations§
Source§impl Clone for ServiceDocument
impl Clone for ServiceDocument
Source§fn clone(&self) -> ServiceDocument
fn clone(&self) -> ServiceDocument
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 ServiceDocument
impl Debug for ServiceDocument
Source§impl<'de> Deserialize<'de> for ServiceDocument
impl<'de> Deserialize<'de> for ServiceDocument
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 ServiceDocument
impl PartialEq for ServiceDocument
Source§impl Serialize for ServiceDocument
impl Serialize for ServiceDocument
impl StructuralPartialEq for ServiceDocument
Auto Trait Implementations§
impl Freeze for ServiceDocument
impl RefUnwindSafe for ServiceDocument
impl Send for ServiceDocument
impl Sync for ServiceDocument
impl Unpin for ServiceDocument
impl UnsafeUnpin for ServiceDocument
impl UnwindSafe for ServiceDocument
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