[][src]Struct pinata_sdk::PinJob

pub struct PinJob {
    pub id: String,
    pub ipfs_pin_hash: String,
    pub date_queued: String,
    pub status: JobStatus,
    pub name: Option<String>,
    pub keyvalues: Option<HashMap<String, String>>,
    pub host_nodes: Option<Vec<String>>,
    pub pin_policy: Option<PinPolicy>,
}

Pin Job Record

Fields

id: String

The id for the pin job record

ipfs_pin_hash: String

The IPFS mult-hash for the content pinned.

date_queued: String

The date hash was initially queued. Represented in ISO8601 format

status: JobStatus

The current status for the pin job

name: Option<String>

Optional name passed for hash

keyvalues: Option<HashMap<String, String>>

Optional keyvalues metadata passsed for hash

host_nodes: Option<Vec<String>>

Optional list of host nodes passed for the hash

pin_policy: Option<PinPolicy>

PinPolicy applied to content once it is found

Trait Implementations

impl Debug for PinJob[src]

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

Auto Trait Implementations

impl RefUnwindSafe for PinJob

impl Send for PinJob

impl Sync for PinJob

impl Unpin for PinJob

impl UnwindSafe for PinJob

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.