pub struct StorageContext { /* private fields */ }Expand description
Caller-owned context forwarded to a remote storage service.
Dactyl validates only the envelope: the version must be non-zero and the payload must be a JSON object. The payload’s fields and meaning belong to the caller and the remote service; Dactyl does not interpret organization, repository, membership, or authorization semantics.
Implementations§
Trait Implementations§
Source§impl Clone for StorageContext
impl Clone for StorageContext
Source§fn clone(&self) -> StorageContext
fn clone(&self) -> StorageContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageContext
impl Debug for StorageContext
Source§impl<'de> Deserialize<'de> for StorageContext
impl<'de> Deserialize<'de> for StorageContext
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
Source§impl PartialEq for StorageContext
impl PartialEq for StorageContext
Source§impl Serialize for StorageContext
impl Serialize for StorageContext
impl StructuralPartialEq for StorageContext
Auto Trait Implementations§
impl Freeze for StorageContext
impl RefUnwindSafe for StorageContext
impl Send for StorageContext
impl Sync for StorageContext
impl Unpin for StorageContext
impl UnsafeUnpin for StorageContext
impl UnwindSafe for StorageContext
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