pub struct PinnedObject {
pub ipfs_hash: String,
pub pin_size: u64,
pub timestamp: String,
}Expand description
Represents a PinnedObject
Fields§
§ipfs_hash: StringIPFS multi-hash provided back for your content
pin_size: u64This is how large (in bytes) the content you just pinned is
timestamp: StringTimestamp for your content pinning in ISO8601 format
Trait Implementations§
Source§impl Debug for PinnedObject
impl Debug for PinnedObject
Source§impl<'de> Deserialize<'de> for PinnedObject
impl<'de> Deserialize<'de> for PinnedObject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PinnedObject
impl RefUnwindSafe for PinnedObject
impl Send for PinnedObject
impl Sync for PinnedObject
impl Unpin for PinnedObject
impl UnwindSafe for PinnedObject
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