pub struct Inventory {
pub source: String,
pub sender: Option<String>,
pub created: Option<DateTime<Utc>>,
pub networks: Vec<Network>,
}Expand description
Top-level inventory — container for all station metadata.
Fields§
§source: StringOrganization that generated this metadata (e.g. “IRIS”, “Pena Bumi”)
sender: Option<String>Optional sender identifier
created: Option<DateTime<Utc>>When this metadata document was created
networks: Vec<Network>Networks contained in this inventory
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Inventory
impl<'de> Deserialize<'de> for Inventory
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
impl StructuralPartialEq for Inventory
Auto Trait Implementations§
impl Freeze for Inventory
impl RefUnwindSafe for Inventory
impl Send for Inventory
impl Sync for Inventory
impl Unpin for Inventory
impl UnsafeUnpin for Inventory
impl UnwindSafe for Inventory
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