#[repr(u16)]pub enum ReceiptCapacityScope {
LiveReceiptServer = 1,
LiveReceiptParticipant = 2,
ProvenanceServer = 3,
ProvenanceConversation = 4,
ProvenanceParticipant = 5,
}Expand description
Receipt/provenance capacity scope.
Variants§
LiveReceiptServer = 1
Server-wide live receipt rows.
LiveReceiptParticipant = 2
Per-participant live receipt rows.
ProvenanceServer = 3
Server-wide provenance rows.
ProvenanceConversation = 4
Per-conversation provenance rows.
ProvenanceParticipant = 5
Per-participant provenance rows.
Implementations§
Source§impl ReceiptCapacityScope
impl ReceiptCapacityScope
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for ReceiptCapacityScope
impl Clone for ReceiptCapacityScope
Source§fn clone(&self) -> ReceiptCapacityScope
fn clone(&self) -> ReceiptCapacityScope
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 moreimpl Copy for ReceiptCapacityScope
Source§impl Debug for ReceiptCapacityScope
impl Debug for ReceiptCapacityScope
impl Eq for ReceiptCapacityScope
Source§impl From<ReceiptCapacityScope> for u16
impl From<ReceiptCapacityScope> for u16
Source§fn from(value: ReceiptCapacityScope) -> Self
fn from(value: ReceiptCapacityScope) -> Self
Converts to this type from the input type.
Source§impl Hash for ReceiptCapacityScope
impl Hash for ReceiptCapacityScope
Source§impl PartialEq for ReceiptCapacityScope
impl PartialEq for ReceiptCapacityScope
impl StructuralPartialEq for ReceiptCapacityScope
Auto Trait Implementations§
impl Freeze for ReceiptCapacityScope
impl RefUnwindSafe for ReceiptCapacityScope
impl Send for ReceiptCapacityScope
impl Sync for ReceiptCapacityScope
impl Unpin for ReceiptCapacityScope
impl UnsafeUnpin for ReceiptCapacityScope
impl UnwindSafe for ReceiptCapacityScope
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