pub struct ContextViewHandle {
pub id: String,
pub generation: u64,
}Expand description
A live generation prevents use of a superseded/revoked view in this worker session. This is a routing handle, not a bearer credential or a signed capability.
Fields§
§id: StringHost-assigned scope name.
generation: u64Monotonically increasing within the owning worker session.
Trait Implementations§
Source§impl Clone for ContextViewHandle
impl Clone for ContextViewHandle
Source§impl Debug for ContextViewHandle
impl Debug for ContextViewHandle
Source§impl<'de> Deserialize<'de> for ContextViewHandle
impl<'de> Deserialize<'de> for ContextViewHandle
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 ContextViewHandle
Source§impl PartialEq for ContextViewHandle
impl PartialEq for ContextViewHandle
Source§impl Serialize for ContextViewHandle
impl Serialize for ContextViewHandle
impl StructuralPartialEq for ContextViewHandle
Auto Trait Implementations§
impl Forget for ContextViewHandle
impl Freeze for ContextViewHandle
impl Move for ContextViewHandle
impl RefUnwindSafe for ContextViewHandle
impl Send for ContextViewHandle
impl Sync for ContextViewHandle
impl Unpin for ContextViewHandle
impl UnsafeUnpin for ContextViewHandle
impl UnwindSafe for ContextViewHandle
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