pub struct TxSignatures(/* private fields */);Implementations§
Source§impl TxSignatures
impl TxSignatures
pub const FIELD_COUNT: usize = 2
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 channel_id(&self) -> Byte32
pub fn witnesses(&self) -> BytesVec
pub fn as_reader<'r>(&'r self) -> TxSignaturesReader<'r>
Trait Implementations§
Source§impl Clone for TxSignatures
impl Clone for TxSignatures
Source§fn clone(&self) -> TxSignatures
fn clone(&self) -> TxSignatures
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 TxSignatures
impl Debug for TxSignatures
Source§impl Default for TxSignatures
impl Default for TxSignatures
Source§impl Display for TxSignatures
impl Display for TxSignatures
Source§impl Entity for TxSignatures
impl Entity for TxSignatures
const NAME: &'static str = "TxSignatures"
type Builder = TxSignaturesBuilder
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<TxSignatures> for FiberMessage
impl From<TxSignatures> for FiberMessage
Source§fn from(value: TxSignatures) -> Self
fn from(value: TxSignatures) -> Self
Converts to this type from the input type.
Source§impl From<TxSignatures> for FiberMessageUnion
impl From<TxSignatures> for FiberMessageUnion
Source§fn from(item: TxSignatures) -> Self
fn from(item: TxSignatures) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TxSignatures
impl RefUnwindSafe for TxSignatures
impl Send for TxSignatures
impl Sync for TxSignatures
impl Unpin for TxSignatures
impl UnsafeUnpin for TxSignatures
impl UnwindSafe for TxSignatures
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