pub enum VdfValue {
Complex(VdfStruct),
Simple(String),
}Expand description
Represents the two value types for vdf:
- Simpletype, which is a String value on the same line as it’s key
- Complextype, which is a struct started with { and ended with } on seperate lines
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VdfValue
impl RefUnwindSafe for VdfValue
impl Send for VdfValue
impl Sync for VdfValue
impl Unpin for VdfValue
impl UnwindSafe for VdfValue
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