[][src]Struct sector_base::api::bytes_amount::UnpaddedBytesAmount

pub struct UnpaddedBytesAmount(pub u64);

Trait Implementations

impl PartialEq<UnpaddedBytesAmount> for UnpaddedBytesAmount[src]

impl Copy for UnpaddedBytesAmount[src]

impl Clone for UnpaddedBytesAmount[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<UnpaddedBytesAmount> for UnpaddedBytesAmount[src]

impl From<UnpaddedBytesAmount> for u64[src]

impl From<UnpaddedBytesAmount> for usize[src]

impl From<UnpaddedBytesAmount> for PaddedBytesAmount[src]

impl From<PaddedBytesAmount> for UnpaddedBytesAmount[src]

impl From<UnpaddedBytesAmount> for UnpaddedByteIndex[src]

impl From<PoRepConfig> for UnpaddedBytesAmount[src]

impl From<PoStConfig> for UnpaddedBytesAmount[src]

impl From<SectorSize> for UnpaddedBytesAmount[src]

impl Debug for UnpaddedBytesAmount[src]

impl Sub<UnpaddedBytesAmount> for UnpaddedBytesAmount[src]

type Output = UnpaddedBytesAmount

The resulting type after applying the - operator.

impl Add<UnpaddedBytesAmount> for UnpaddedBytesAmount[src]

type Output = UnpaddedBytesAmount

The resulting type after applying the + operator.

impl Serialize for UnpaddedBytesAmount[src]

impl<'de> Deserialize<'de> for UnpaddedBytesAmount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]