pub struct CellOutput(/* private fields */);Implementations§
Source§impl CellOutput
impl CellOutput
pub const FIELD_COUNT: usize = 3
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 capacity(&self) -> Uint64
pub fn lock(&self) -> Script
pub fn type_(&self) -> ScriptOpt
pub fn as_reader<'r>(&'r self) -> CellOutputReader<'r>
Trait Implementations§
Source§impl Clone for CellOutput
impl Clone for CellOutput
Source§fn clone(&self) -> CellOutput
fn clone(&self) -> CellOutput
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 moreSource§impl Debug for CellOutput
impl Debug for CellOutput
Source§impl Default for CellOutput
impl Default for CellOutput
Source§impl Display for CellOutput
impl Display for CellOutput
Source§impl Entity for CellOutput
impl Entity for CellOutput
const NAME: &'static str = "CellOutput"
type Builder = CellOutputBuilder
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
Auto Trait Implementations§
impl !Freeze for CellOutput
impl RefUnwindSafe for CellOutput
impl Send for CellOutput
impl Sync for CellOutput
impl Unpin for CellOutput
impl UnsafeUnpin for CellOutput
impl UnwindSafe for CellOutput
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