Enum sn_api::SafeContentType [−][src]
pub enum SafeContentType { Raw, Wallet, FilesContainer, NrsMapContainer, Multimap, MediaType(String), }
Variants
MediaType(String)
Implementations
impl SafeContentType
[src]
impl SafeContentType
[src]Trait Implementations
impl Clone for SafeContentType
[src]
impl Clone for SafeContentType
[src]pub fn clone(&self) -> SafeContentType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SafeContentType
[src]
impl Debug for SafeContentType
[src]impl<'de> Deserialize<'de> for SafeContentType
[src]
impl<'de> Deserialize<'de> for SafeContentType
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SafeContentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SafeContentType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Display for SafeContentType
[src]
impl Display for SafeContentType
[src]impl PartialEq<SafeContentType> for SafeContentType
[src]
impl PartialEq<SafeContentType> for SafeContentType
[src]pub fn eq(&self, other: &SafeContentType) -> bool
[src]
pub fn ne(&self, other: &SafeContentType) -> bool
[src]
impl Serialize for SafeContentType
[src]
impl Serialize for SafeContentType
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for SafeContentType
[src]
impl StructuralPartialEq for SafeContentType
[src]Auto Trait Implementations
impl RefUnwindSafe for SafeContentType
impl RefUnwindSafe for SafeContentType
impl Send for SafeContentType
impl Send for SafeContentType
impl Sync for SafeContentType
impl Sync for SafeContentType
impl Unpin for SafeContentType
impl Unpin for SafeContentType
impl UnwindSafe for SafeContentType
impl UnwindSafe for SafeContentType
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,