pub struct OpaqueObjectV1 {
pub installation_id: String,
pub object_key: String,
pub envelope: Vec<u8>,
pub metadata: Vec<u8>,
pub tombstone: bool,
}Expand description
Opaque provider-owned record. Metadata is opaque too; callers own its confidentiality.
Fields§
§installation_id: StringInstallation scope, validated as a bounded identifier.
object_key: StringOpaque key, never a filesystem path interpreted by this provider.
envelope: Vec<u8>Encrypted/opaque envelope, at most 1 MiB; empty only for a tombstone.
metadata: Vec<u8>Opaque routing metadata, at most 4 KiB. Never put secrets here.
tombstone: boolA deletion preserves identity and revision, with an empty envelope.
Implementations§
Trait Implementations§
Source§impl Clone for OpaqueObjectV1
impl Clone for OpaqueObjectV1
Source§impl Debug for OpaqueObjectV1
impl Debug for OpaqueObjectV1
impl Eq for OpaqueObjectV1
Source§impl PartialEq for OpaqueObjectV1
impl PartialEq for OpaqueObjectV1
impl StructuralPartialEq for OpaqueObjectV1
Auto Trait Implementations§
impl Freeze for OpaqueObjectV1
impl RefUnwindSafe for OpaqueObjectV1
impl Send for OpaqueObjectV1
impl Sync for OpaqueObjectV1
impl Unpin for OpaqueObjectV1
impl UnsafeUnpin for OpaqueObjectV1
impl UnwindSafe for OpaqueObjectV1
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