pub struct LedgerEntryView {
pub node_id: String,
pub status: String,
pub m4a_public_key: Option<String>,
pub mailbox: Option<String>,
pub grants: Grants,
}Expand description
Read-only shape of a ledger entry for consumers (the mail server, tests): status as text.
Fields§
§node_id: String§status: String§m4a_public_key: Option<String>§mailbox: Option<String>§grants: GrantsTrait Implementations§
Source§impl Clone for LedgerEntryView
impl Clone for LedgerEntryView
Source§impl Debug for LedgerEntryView
impl Debug for LedgerEntryView
Source§impl<'de> Deserialize<'de> for LedgerEntryView
impl<'de> Deserialize<'de> for LedgerEntryView
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
Auto Trait Implementations§
impl Freeze for LedgerEntryView
impl RefUnwindSafe for LedgerEntryView
impl Send for LedgerEntryView
impl Sync for LedgerEntryView
impl Unpin for LedgerEntryView
impl UnsafeUnpin for LedgerEntryView
impl UnwindSafe for LedgerEntryView
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