pub struct SecretEntry {
pub shared: String,
pub scoped: BTreeMap<String, String>,
}Fields§
Shared value encrypted to all recipients.
scoped: BTreeMap<String, String>Scoped overrides: pubkey → encrypted value (encrypted to that pubkey only).
Trait Implementations§
Source§impl Clone for SecretEntry
impl Clone for SecretEntry
Source§fn clone(&self) -> SecretEntry
fn clone(&self) -> SecretEntry
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 SecretEntry
impl Debug for SecretEntry
Source§impl<'de> Deserialize<'de> for SecretEntry
impl<'de> Deserialize<'de> for SecretEntry
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 SecretEntry
impl PartialEq for SecretEntry
Source§impl Serialize for SecretEntry
impl Serialize for SecretEntry
impl Eq for SecretEntry
impl StructuralPartialEq for SecretEntry
Auto Trait Implementations§
impl Freeze for SecretEntry
impl RefUnwindSafe for SecretEntry
impl Send for SecretEntry
impl Sync for SecretEntry
impl Unpin for SecretEntry
impl UnsafeUnpin for SecretEntry
impl UnwindSafe for SecretEntry
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