[−][src]Struct pinata_sdk::PinOptions
Used to add additional options when pinning by hash
Fields
host_nodes: Option<Vec<String>>
multiaddresses of nodes your content is already stored on
custom_pin_policy: Option<PinPolicy>
Custom pin policy for the piece of content being pinned
cid_version: Option<u8>
CID Version IPFS will use when creating a hash for your content
Trait Implementations
impl Serialize for PinOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for PinOptions
impl Send for PinOptions
impl Sync for PinOptions
impl Unpin for PinOptions
impl UnwindSafe for PinOptions
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,
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, 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.
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>,