pub struct AgentProvider {
pub url: Url,
pub organization: Arc<str>,
}Expand description
The service provider of the agent.
The proto marks both fields REQUIRED. The builder rejects an
empty organization; the url field is typed url::Url,
so an invalid URL is a url::ParseError at the call site
that constructs the value.
Fields§
§url: UrlA URL for the agent provider’s website or relevant documentation. REQUIRED.
organization: Arc<str>The name of the agent provider’s organization. REQUIRED, non-empty.
Trait Implementations§
Source§impl Clone for AgentProvider
impl Clone for AgentProvider
Source§impl Debug for AgentProvider
impl Debug for AgentProvider
Source§impl<'de> Deserialize<'de> for AgentProvider
impl<'de> Deserialize<'de> for AgentProvider
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
impl Eq for AgentProvider
Source§impl PartialEq for AgentProvider
impl PartialEq for AgentProvider
Source§impl Serialize for AgentProvider
impl Serialize for AgentProvider
impl StructuralPartialEq for AgentProvider
Auto Trait Implementations§
impl Freeze for AgentProvider
impl RefUnwindSafe for AgentProvider
impl Send for AgentProvider
impl Sync for AgentProvider
impl Unpin for AgentProvider
impl UnsafeUnpin for AgentProvider
impl UnwindSafe for AgentProvider
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