[−][src]Struct ckb_types::packed::ProposalShortId
Implementations
impl ProposalShortId[src]
pub const TOTAL_SIZE: usize[src]
pub const ITEM_SIZE: usize[src]
pub const ITEM_COUNT: usize[src]
pub fn nth0(&self) -> Byte[src]
pub fn nth1(&self) -> Byte[src]
pub fn nth2(&self) -> Byte[src]
pub fn nth3(&self) -> Byte[src]
pub fn nth4(&self) -> Byte[src]
pub fn nth5(&self) -> Byte[src]
pub fn nth6(&self) -> Byte[src]
pub fn nth7(&self) -> Byte[src]
pub fn nth8(&self) -> Byte[src]
pub fn nth9(&self) -> Byte[src]
pub fn raw_data(&self) -> Bytes[src]
pub fn as_reader<'r>(&'r self) -> ProposalShortIdReader<'r>[src]
impl ProposalShortId[src]
pub fn from_tx_hash(h: &Byte32) -> Self[src]
Creates a new ProposalShortId from a transaction hash.
pub fn zero() -> Self[src]
Creates a new ProposalShortId whose bits are all zeros.
pub fn new(v: [u8; 10]) -> Self[src]
Creates a new ProposalShortId.
Trait Implementations
impl Clone for ProposalShortId[src]
fn clone(&self) -> ProposalShortId[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ProposalShortId[src]
impl Default for ProposalShortId[src]
impl Display for ProposalShortId[src]
impl Entity for ProposalShortId[src]
type Builder = ProposalShortIdBuilder
const NAME: &'static str[src]
fn new_unchecked(data: Bytes) -> Self[src]
fn as_bytes(&self) -> Bytes[src]
fn as_slice(&self) -> &[u8][src]
fn from_slice(slice: &[u8]) -> VerificationResult<Self>[src]
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>[src]
fn new_builder() -> Self::Builder[src]
fn as_builder(self) -> Self::Builder[src]
impl Eq for ProposalShortId[src]
impl Hash for ProposalShortId[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl LowerHex for ProposalShortId[src]
impl Pack<ProposalShortId> for [u8; 10][src]
fn pack(&self) -> ProposalShortId[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>, [src]
T: IntoIterator<Item = ProposalShortId>,
fn pack(self) -> ProposalShortIdVec[src]
impl PartialEq<ProposalShortId> for ProposalShortId[src]
impl Unpack<[u8; 10]> for ProposalShortId[src]
Auto Trait Implementations
impl RefUnwindSafe for ProposalShortId
impl Send for ProposalShortId
impl Sync for ProposalShortId
impl Unpin for ProposalShortId
impl UnwindSafe for ProposalShortId
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>, [src]
T: IntoIterator<Item = ProposalShortId>,
pub fn pack(Self) -> ProposalShortIdVec[src]
impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
T: IntoIterator<Item = ProposalShortId>, [src]
T: IntoIterator<Item = ProposalShortId>,
pub fn pack(Self) -> ProposalShortIdVec[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,