[][src]Struct pinata_sdk::PinListItemRegionPolicy

pub struct PinListItemRegionPolicy {
    pub region_id: Region,
    pub desired_replication_count: u8,
    pub current_replication_count: u8,
}

RegionPolicy active on the PinListItem

Fields

region_id: Region

Region this content is expected to be pinned in

desired_replication_count: u8

The number of replications desired in this region

current_replication_count: u8

The number of times this content has been replicated so far

Trait Implementations

impl Debug for PinListItemRegionPolicy[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.