pub struct AgentOffer {
pub id: String,
pub name: String,
pub source: AgentSource,
pub launch_preview: String,
pub version: Option<String>,
pub pinned: PinState,
pub licence: Option<String>,
pub env_names: Vec<String>,
pub login: Vec<LoginKind>,
pub spec_digest: B3Hash,
}Expand description
One agent the person may consent to, as the consent card shows it.
Fields§
§id: String§name: String§source: AgentSource§launch_preview: StringThe exact command line, shown as it is.
version: Option<String>§pinned: PinState§licence: Option<String>§env_names: Vec<String>The names of the environment variables the entry sets; never their values.
login: Vec<LoginKind>§spec_digest: B3HashThe digest of this launch spec; AddAgent carries it back as the
consent.
Trait Implementations§
Source§impl Clone for AgentOffer
impl Clone for AgentOffer
Source§impl Debug for AgentOffer
impl Debug for AgentOffer
Source§impl<'de> Deserialize<'de> for AgentOffer
impl<'de> Deserialize<'de> for AgentOffer
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 AgentOffer
Source§impl PartialEq for AgentOffer
impl PartialEq for AgentOffer
Source§impl Serialize for AgentOffer
impl Serialize for AgentOffer
impl StructuralPartialEq for AgentOffer
Auto Trait Implementations§
impl Freeze for AgentOffer
impl RefUnwindSafe for AgentOffer
impl Send for AgentOffer
impl Sync for AgentOffer
impl Unpin for AgentOffer
impl UnsafeUnpin for AgentOffer
impl UnwindSafe for AgentOffer
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