pub struct HarnessProviderSessionIdentityV1 {
pub key: HarnessProviderSessionKeyV1,
pub id: String,
pub transcript_path: Option<String>,
}Expand description
Mirrors gate4agent_types::ProviderSessionIdentity: the caller-supplied
reference IndexProviderSession binds a durable managed-session record
to. Bounds match the node’s own PROVIDER_EVENT_ID_MAX_BYTES/
PROVIDER_SESSION_LOCATOR_MAX_BYTES (the node re-validates on its own
terms regardless; this bound exists to reject an obviously-oversized
request before it ever reaches C2).
Fields§
§key: HarnessProviderSessionKeyV1§id: String§transcript_path: Option<String>Implementations§
Source§impl HarnessProviderSessionIdentityV1
impl HarnessProviderSessionIdentityV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessProviderSessionIdentityV1
impl<'de> Deserialize<'de> for HarnessProviderSessionIdentityV1
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 HarnessProviderSessionIdentityV1
impl StructuralPartialEq for HarnessProviderSessionIdentityV1
Auto Trait Implementations§
impl Freeze for HarnessProviderSessionIdentityV1
impl RefUnwindSafe for HarnessProviderSessionIdentityV1
impl Send for HarnessProviderSessionIdentityV1
impl Sync for HarnessProviderSessionIdentityV1
impl Unpin for HarnessProviderSessionIdentityV1
impl UnsafeUnpin for HarnessProviderSessionIdentityV1
impl UnwindSafe for HarnessProviderSessionIdentityV1
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