pub struct SessionRuntimeIdentity {
pub provider: String,
pub model: String,
pub variant: Option<String>,
}Expand description
Exact declarative model identity owned by one durable Session.
Fields§
§provider: String§model: String§variant: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SessionRuntimeIdentity
impl Clone for SessionRuntimeIdentity
Source§fn clone(&self) -> SessionRuntimeIdentity
fn clone(&self) -> SessionRuntimeIdentity
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 SessionRuntimeIdentity
impl Debug for SessionRuntimeIdentity
Source§impl<'de> Deserialize<'de> for SessionRuntimeIdentity
impl<'de> Deserialize<'de> for SessionRuntimeIdentity
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 SessionRuntimeIdentity
Source§impl PartialEq for SessionRuntimeIdentity
impl PartialEq for SessionRuntimeIdentity
Source§impl Serialize for SessionRuntimeIdentity
impl Serialize for SessionRuntimeIdentity
impl StructuralPartialEq for SessionRuntimeIdentity
Auto Trait Implementations§
impl Freeze for SessionRuntimeIdentity
impl RefUnwindSafe for SessionRuntimeIdentity
impl Send for SessionRuntimeIdentity
impl Sync for SessionRuntimeIdentity
impl Unpin for SessionRuntimeIdentity
impl UnsafeUnpin for SessionRuntimeIdentity
impl UnwindSafe for SessionRuntimeIdentity
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