pub struct Depths {
pub vecs: HashMap<String, Depth>,
pub maps: HashMap<String, DepthMap>,
}Expand description
Special structure suitable to be a mutex-protected storage for depths of different sources (pairs)
Fields§
§vecs: HashMap<String, Depth>§maps: HashMap<String, DepthMap>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Depths
impl<'de> Deserialize<'de> for Depths
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
Auto Trait Implementations§
impl Freeze for Depths
impl RefUnwindSafe for Depths
impl Send for Depths
impl Sync for Depths
impl Unpin for Depths
impl UnwindSafe for Depths
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