pub struct AgentAuthorityTemplate {
pub profile: String,
pub provider: String,
pub model: String,
pub credential_id: Option<String>,
}Expand description
Secret-free provider/model material used to mint one runtime-owned authority.
Fields§
§profile: StringProvider profile selected by the coordinator.
provider: StringProvider adapter identifier.
model: StringExact model selector.
credential_id: Option<String>Public credential identity, never credential material.
Trait Implementations§
Source§impl Clone for AgentAuthorityTemplate
impl Clone for AgentAuthorityTemplate
Source§fn clone(&self) -> AgentAuthorityTemplate
fn clone(&self) -> AgentAuthorityTemplate
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 AgentAuthorityTemplate
impl Debug for AgentAuthorityTemplate
Source§impl<'de> Deserialize<'de> for AgentAuthorityTemplate
impl<'de> Deserialize<'de> for AgentAuthorityTemplate
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 AgentAuthorityTemplate
Source§impl PartialEq for AgentAuthorityTemplate
impl PartialEq for AgentAuthorityTemplate
Source§impl Serialize for AgentAuthorityTemplate
impl Serialize for AgentAuthorityTemplate
impl StructuralPartialEq for AgentAuthorityTemplate
Auto Trait Implementations§
impl Freeze for AgentAuthorityTemplate
impl RefUnwindSafe for AgentAuthorityTemplate
impl Send for AgentAuthorityTemplate
impl Sync for AgentAuthorityTemplate
impl Unpin for AgentAuthorityTemplate
impl UnsafeUnpin for AgentAuthorityTemplate
impl UnwindSafe for AgentAuthorityTemplate
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