pub struct SessionIdentity {
pub session: String,
pub plugin_instance: String,
pub plugin_generation: String,
pub artifact_digest: String,
pub contract_digest: String,
pub runtime_profile: String,
pub value_profile: String,
}Expand description
Immutable identity of one admitted Plugin generation.
Fields§
§session: String§plugin_instance: String§plugin_generation: String§artifact_digest: String§contract_digest: String§runtime_profile: String§value_profile: StringImplementations§
Source§impl SessionIdentity
impl SessionIdentity
pub fn validate(&self) -> Result<(), ProtocolError>
Trait Implementations§
Source§impl Clone for SessionIdentity
impl Clone for SessionIdentity
Source§fn clone(&self) -> SessionIdentity
fn clone(&self) -> SessionIdentity
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 SessionIdentity
impl Debug for SessionIdentity
Source§impl<'de> Deserialize<'de> for SessionIdentity
impl<'de> Deserialize<'de> for SessionIdentity
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 SessionIdentity
Source§impl PartialEq for SessionIdentity
impl PartialEq for SessionIdentity
Source§impl Serialize for SessionIdentity
impl Serialize for SessionIdentity
impl StructuralPartialEq for SessionIdentity
Auto Trait Implementations§
impl Freeze for SessionIdentity
impl RefUnwindSafe for SessionIdentity
impl Send for SessionIdentity
impl Sync for SessionIdentity
impl Unpin for SessionIdentity
impl UnsafeUnpin for SessionIdentity
impl UnwindSafe for SessionIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.