pub struct NewAgentIdentity {
pub kind: AgentKind,
pub subject: String,
pub role: Role,
pub note: Option<String>,
pub org: Option<String>,
}Expand description
What PUT orgs/{org}/agent-identities and agent_identity_set take.
Fields§
§kind: AgentKind§subject: String§role: Role§note: Option<String>§org: Option<String>Ignored: the org is the endpoint’s or the tool’s org.
Trait Implementations§
Source§impl Debug for NewAgentIdentity
impl Debug for NewAgentIdentity
Source§impl<'de> Deserialize<'de> for NewAgentIdentity
impl<'de> Deserialize<'de> for NewAgentIdentity
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
Auto Trait Implementations§
impl Freeze for NewAgentIdentity
impl RefUnwindSafe for NewAgentIdentity
impl Send for NewAgentIdentity
impl Sync for NewAgentIdentity
impl Unpin for NewAgentIdentity
impl UnsafeUnpin for NewAgentIdentity
impl UnwindSafe for NewAgentIdentity
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