pub struct PinListMetadata {
pub name: Option<String>,
pub keyvalues: Option<MetadataKeyValues>,
}Expand description
Pin metadata returns from PinList query
This is different from PinMetadata because keyvalues can also be optional in this result
Fields§
§name: Option<String>Custom name used for referencing your pinned content.
keyvalues: Option<MetadataKeyValues>List of key value items to attach with the pinned content
Trait Implementations§
Source§impl Debug for PinListMetadata
impl Debug for PinListMetadata
Source§impl<'de> Deserialize<'de> for PinListMetadata
impl<'de> Deserialize<'de> for PinListMetadata
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 PinListMetadata
impl RefUnwindSafe for PinListMetadata
impl Send for PinListMetadata
impl Sync for PinListMetadata
impl Unpin for PinListMetadata
impl UnwindSafe for PinListMetadata
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