Struct snapshot_lib::Dreps
source · pub struct Dreps {
pub(crate) reps: HashSet<Identifier>,
}
Fields§
§reps: HashSet<Identifier>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Dreps
impl<'de> Deserialize<'de> for Dreps
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<HashSet<Identifier, RandomState>> for Dreps
impl From<HashSet<Identifier, RandomState>> for Dreps
source§fn from(reps: HashSet<Identifier>) -> Self
fn from(reps: HashSet<Identifier>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Dreps
impl Send for Dreps
impl Sync for Dreps
impl Unpin for Dreps
impl UnwindSafe for Dreps
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