Struct Session Ref
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct SessionRef {
pub schema_version: String,
pub adapter_id: String,
pub session_id: String,
}
Adapter-issued native identity, resolved only within caller-supplied storage.
Fields
schema_version: String
Supported envelope version.
adapter_id: String
Adapter responsible for interpreting the opaque identifier.
session_id: String
Opaque adapter-issued identifier interpreted by the adapter.
Implementations
impl SessionRef
impl SessionRef
validate
pub fn validate(&self) -> Result<()>
Validate the envelope without parsing the native identifier.
Trait Implementations
impl Clone for SessionRef
impl Clone for SessionRef
clone
fn clone(&self) -> Self
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for SessionRef
impl Debug for SessionRef
fmt
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for SessionRef
impl<'de> Deserialize<'de> for SessionRef
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SessionRef
impl Eq for SessionRef
impl JsonSchema for SessionRef
impl JsonSchema for SessionRef
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for SessionRef
impl PartialEq for SessionRef
eq
fn eq(&self, other: &Self) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for SessionRef
impl Serialize for SessionRef
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for SessionRef
impl StructuralPartialEq for SessionRef