pub struct HashPinPolicy { /* private fields */ }Expand description
Represents a PinPolicy linked to a particular ipfs pinned hash
Implementations§
Source§impl HashPinPolicy
impl HashPinPolicy
Sourcepub fn new<S>(ipfs_pin_hash: S, regions: Vec<RegionPolicy>) -> HashPinPolicy
pub fn new<S>(ipfs_pin_hash: S, regions: Vec<RegionPolicy>) -> HashPinPolicy
Create a new HashPinPolicy.
See the pinata docs for more information.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashPinPolicy
impl RefUnwindSafe for HashPinPolicy
impl Send for HashPinPolicy
impl Sync for HashPinPolicy
impl Unpin for HashPinPolicy
impl UnwindSafe for HashPinPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more