Struct async_nats::jetstream::object_store::ObjectMeta
source · pub struct ObjectMeta {
pub name: String,
pub description: Option<String>,
pub link: Option<ObjectLink>,
}
Expand description
Meta information about an object.
Fields§
§name: String
Name of the object
description: Option<String>
A short human readable description of the object.
link: Option<ObjectLink>
Link this object points to, if any.
Trait Implementations§
source§impl Clone for ObjectMeta
impl Clone for ObjectMeta
source§fn clone(&self) -> ObjectMeta
fn clone(&self) -> ObjectMeta
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectMeta
impl Debug for ObjectMeta
source§impl Default for ObjectMeta
impl Default for ObjectMeta
source§fn default() -> ObjectMeta
fn default() -> ObjectMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ObjectMeta
impl<'de> Deserialize<'de> for ObjectMeta
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
source§impl From<&str> for ObjectMeta
impl From<&str> for ObjectMeta
source§fn from(s: &str) -> ObjectMeta
fn from(s: &str) -> ObjectMeta
Converts to this type from the input type.
source§impl PartialEq<ObjectMeta> for ObjectMeta
impl PartialEq<ObjectMeta> for ObjectMeta
source§fn eq(&self, other: &ObjectMeta) -> bool
fn eq(&self, other: &ObjectMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.