pub struct Pin {
pub cid: Option<String>,
pub name: Option<String>,
pub meta: Option<Value>,
pub status: Option<PinStatus>,
pub created: Option<String>,
pub size: Option<f32>,
}Fields§
§cid: Option<String>Self-describing content-addressed identifiers for distributed systems. Check spec for more info.
name: Option<String>§meta: Option<Value>§status: Option<PinStatus>§created: Option<String>This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
size: Option<f32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pin
impl<'de> Deserialize<'de> for Pin
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
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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