pub struct PayeePublicKey(/* private fields */);Implementations§
Source§impl PayeePublicKey
impl PayeePublicKey
pub const FIELD_COUNT: usize = 1
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn value(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> PayeePublicKeyReader<'r>
Trait Implementations§
Source§impl Clone for PayeePublicKey
impl Clone for PayeePublicKey
Source§fn clone(&self) -> PayeePublicKey
fn clone(&self) -> PayeePublicKey
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 PayeePublicKey
impl Debug for PayeePublicKey
Source§impl Default for PayeePublicKey
impl Default for PayeePublicKey
Source§impl Display for PayeePublicKey
impl Display for PayeePublicKey
Source§impl Entity for PayeePublicKey
impl Entity for PayeePublicKey
const NAME: &'static str = "PayeePublicKey"
type Builder = PayeePublicKeyBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<PayeePublicKey> for InvoiceAttr
impl From<PayeePublicKey> for InvoiceAttr
Source§fn from(value: PayeePublicKey) -> Self
fn from(value: PayeePublicKey) -> Self
Converts to this type from the input type.
Source§impl From<PayeePublicKey> for InvoiceAttrUnion
impl From<PayeePublicKey> for InvoiceAttrUnion
Source§fn from(item: PayeePublicKey) -> Self
fn from(item: PayeePublicKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PayeePublicKey
impl RefUnwindSafe for PayeePublicKey
impl Send for PayeePublicKey
impl Sync for PayeePublicKey
impl Unpin for PayeePublicKey
impl UnsafeUnpin for PayeePublicKey
impl UnwindSafe for PayeePublicKey
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