pub struct IdentityStateRecord {
pub schema: u16,
pub role: IdentityRole,
pub target: IdentityTarget,
pub original_item_id: Option<String>,
pub original_call_id: Option<String>,
pub client_item_id: Option<String>,
pub client_call_id: Option<String>,
pub tool_name: Option<String>,
pub response_id: Option<String>,
pub conversation_id: Option<String>,
pub opaque_signature: Option<OpaqueSignature>,
}Expand description
The only identity facts allowed to cross a request boundary.
Fields§
§schema: u16§role: IdentityRole§target: IdentityTarget§original_item_id: Option<String>§original_call_id: Option<String>§client_item_id: Option<String>§client_call_id: Option<String>§tool_name: Option<String>§response_id: Option<String>§conversation_id: Option<String>§opaque_signature: Option<OpaqueSignature>Implementations§
Source§impl IdentityStateRecord
impl IdentityStateRecord
pub fn new(role: IdentityRole, target: IdentityTarget) -> Self
Trait Implementations§
Source§impl Clone for IdentityStateRecord
impl Clone for IdentityStateRecord
Source§impl Debug for IdentityStateRecord
impl Debug for IdentityStateRecord
Source§impl<'de> Deserialize<'de> for IdentityStateRecord
impl<'de> Deserialize<'de> for IdentityStateRecord
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 IdentityStateRecord
Source§impl PartialEq for IdentityStateRecord
impl PartialEq for IdentityStateRecord
Source§impl Serialize for IdentityStateRecord
impl Serialize for IdentityStateRecord
impl StructuralPartialEq for IdentityStateRecord
Auto Trait Implementations§
impl Freeze for IdentityStateRecord
impl RefUnwindSafe for IdentityStateRecord
impl Send for IdentityStateRecord
impl Sync for IdentityStateRecord
impl Unpin for IdentityStateRecord
impl UnsafeUnpin for IdentityStateRecord
impl UnwindSafe for IdentityStateRecord
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