pub struct SnapshotHandle(pub CompactString);Expand description
Opaque handle returned by tsgo.
Handles are lightweight string wrappers and can be passed back to follow-up requests without parsing.
Tuple Fields§
§0: CompactStringImplementations§
Trait Implementations§
Source§impl Clone for SnapshotHandle
impl Clone for SnapshotHandle
Source§fn clone(&self) -> SnapshotHandle
fn clone(&self) -> SnapshotHandle
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotHandle
impl Debug for SnapshotHandle
Source§impl<'de> Deserialize<'de> for SnapshotHandle
impl<'de> Deserialize<'de> for SnapshotHandle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for SnapshotHandle
impl From<&str> for SnapshotHandle
Source§fn from(value: &str) -> SnapshotHandle
fn from(value: &str) -> SnapshotHandle
Converts to this type from the input type.
Source§impl From<String> for SnapshotHandle
impl From<String> for SnapshotHandle
Source§fn from(value: String) -> SnapshotHandle
fn from(value: String) -> SnapshotHandle
Converts to this type from the input type.
Source§impl Hash for SnapshotHandle
impl Hash for SnapshotHandle
Source§impl Ord for SnapshotHandle
impl Ord for SnapshotHandle
Source§fn cmp(&self, other: &SnapshotHandle) -> Ordering
fn cmp(&self, other: &SnapshotHandle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SnapshotHandle
impl PartialEq for SnapshotHandle
Source§impl PartialOrd for SnapshotHandle
impl PartialOrd for SnapshotHandle
Source§impl Serialize for SnapshotHandle
impl Serialize for SnapshotHandle
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SnapshotHandle
impl StructuralPartialEq for SnapshotHandle
Auto Trait Implementations§
impl Freeze for SnapshotHandle
impl RefUnwindSafe for SnapshotHandle
impl Send for SnapshotHandle
impl Sync for SnapshotHandle
impl Unpin for SnapshotHandle
impl UnsafeUnpin for SnapshotHandle
impl UnwindSafe for SnapshotHandle
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