pub struct TaskAgentSessionKey {
pub encrypted: Option<bool>,
pub value: Vec<String>,
}
Expand description
Represents a symmetric key used for message-level encryption for communication sent to an agent.
Fields§
§encrypted: Option<bool>
Gets or sets a value indicating whether or not the key value is encrypted. If this value is true, the Value property should be decrypted using the
value: Vec<String>
Gets or sets the symmetric key value.
Implementations§
Trait Implementations§
source§impl Clone for TaskAgentSessionKey
impl Clone for TaskAgentSessionKey
source§fn clone(&self) -> TaskAgentSessionKey
fn clone(&self) -> TaskAgentSessionKey
Returns a copy of the value. Read more
1.0.0 · 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 TaskAgentSessionKey
impl Debug for TaskAgentSessionKey
source§impl Default for TaskAgentSessionKey
impl Default for TaskAgentSessionKey
source§fn default() -> TaskAgentSessionKey
fn default() -> TaskAgentSessionKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskAgentSessionKey
impl<'de> Deserialize<'de> for TaskAgentSessionKey
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 TaskAgentSessionKey
impl PartialEq for TaskAgentSessionKey
source§fn eq(&self, other: &TaskAgentSessionKey) -> bool
fn eq(&self, other: &TaskAgentSessionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskAgentSessionKey
impl Serialize for TaskAgentSessionKey
impl StructuralPartialEq for TaskAgentSessionKey
Auto Trait Implementations§
impl RefUnwindSafe for TaskAgentSessionKey
impl Send for TaskAgentSessionKey
impl Sync for TaskAgentSessionKey
impl Unpin for TaskAgentSessionKey
impl UnwindSafe for TaskAgentSessionKey
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