Struct tea_sdk::runtime::ops::ipfs_out::IpfsHeader
pub struct IpfsHeader {
pub name: String,
pub hash: String,
pub size: u64,
pub typ: Option<String>,
}
Fields§
§name: String
§hash: String
§size: u64
§typ: Option<String>
Trait Implementations§
§impl Debug for IpfsHeader
impl Debug for IpfsHeader
§impl<'de> Deserialize<'de> for IpfsHeader
impl<'de> Deserialize<'de> for IpfsHeader
§fn deserialize<__D>(
__deserializer: __D
) -> Result<IpfsHeader, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<IpfsHeader, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for IpfsHeader
impl PartialEq for IpfsHeader
§fn eq(&self, other: &IpfsHeader) -> bool
fn eq(&self, other: &IpfsHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for IpfsHeader
impl Serialize for IpfsHeader
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for IpfsHeader
impl StructuralEq for IpfsHeader
impl StructuralPartialEq for IpfsHeader
Auto Trait Implementations§
impl RefUnwindSafe for IpfsHeader
impl Send for IpfsHeader
impl Sync for IpfsHeader
impl Unpin for IpfsHeader
impl UnwindSafe for IpfsHeader
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.