Struct hakuban::ObjectDescriptor [−][src]
pub struct ObjectDescriptor { pub tags: HashSet<TagDescriptor>, pub json: Value, }
Expand description
Unique object identifier
Fields
json: Value
Implementations
pub fn new<Q: Into<Value>, S: IntoIterator<Item = Q>, T: Into<Value>>(
tags: S,
json: T
) -> ObjectDescriptor
[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
impl<Q: Into<Value>, S: IntoIterator<Item = Q>, T: Into<Value>> From<(S, T)> for ObjectDescriptor
[src]
impl<Q: Into<Value>, S: IntoIterator<Item = Q>, T: Into<Value>> From<(S, T)> for ObjectDescriptor
[src]Auto Trait Implementations
impl RefUnwindSafe for ObjectDescriptor
impl Send for ObjectDescriptor
impl Sync for ObjectDescriptor
impl Unpin for ObjectDescriptor
impl UnwindSafe for ObjectDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V