pub struct StreamedTurn {
pub challenge: Vec<u8>,
pub challenge_at: i64,
pub challenge_sig: HybridSignature,
pub session_context: Vec<u8>,
pub stream_id: Vec<u8>,
pub stream_seq: i64,
}Expand description
The presentation-side inputs of one streamed turn: the fresh challenge
the agent signed and the bindings it signed it under (SPEC §6.4.2).
Presented values, distinct from the verifier-side expectations carried
in VerifyOptions.
Fields§
§challenge: Vec<u8>§challenge_at: i64§challenge_sig: HybridSignature§session_context: Vec<u8>Presented session binding (empty = unbound; otherwise 32 bytes).
stream_id: Vec<u8>Presented stream binding (empty = unbound; otherwise 32 bytes with
stream_seq >= 1).
stream_seq: i64Trait Implementations§
Source§impl Clone for StreamedTurn
impl Clone for StreamedTurn
Auto Trait Implementations§
impl Freeze for StreamedTurn
impl RefUnwindSafe for StreamedTurn
impl Send for StreamedTurn
impl Sync for StreamedTurn
impl Unpin for StreamedTurn
impl UnsafeUnpin for StreamedTurn
impl UnwindSafe for StreamedTurn
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