pub struct AccessEntryV2 {
pub address: Address,
pub encrypted_key_bundle: Option<EncryptedKeyBundleV2>,
pub expires_at: Option<u64>,
}Expand description
Per-recipient access entry for a Private V2 file (or a public ACL entry when bundles are absent). Plan §3.1.
Fields§
§address: Address§encrypted_key_bundle: Option<EncryptedKeyBundleV2>Encrypted file-key bundle for this recipient. Some(80 bytes) for
Private files; None for Public files.
expires_at: Option<u64>Optional access expiry (block height). None = never expires.
Trait Implementations§
Source§impl Clone for AccessEntryV2
impl Clone for AccessEntryV2
Source§fn clone(&self) -> AccessEntryV2
fn clone(&self) -> AccessEntryV2
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 AccessEntryV2
impl Debug for AccessEntryV2
Source§impl<'de> Deserialize<'de> for AccessEntryV2
impl<'de> Deserialize<'de> for AccessEntryV2
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 AccessEntryV2
impl PartialEq for AccessEntryV2
Source§fn eq(&self, other: &AccessEntryV2) -> bool
fn eq(&self, other: &AccessEntryV2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccessEntryV2
impl Serialize for AccessEntryV2
impl Eq for AccessEntryV2
impl StructuralPartialEq for AccessEntryV2
Auto Trait Implementations§
impl Freeze for AccessEntryV2
impl RefUnwindSafe for AccessEntryV2
impl Send for AccessEntryV2
impl Sync for AccessEntryV2
impl Unpin for AccessEntryV2
impl UnsafeUnpin for AccessEntryV2
impl UnwindSafe for AccessEntryV2
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