pub struct VdfAttribute {
pub comments_before: Vec<String>,
pub comment_after: Option<String>,
pub key: String,
pub value: VdfValue,
}
Fields§
§comments_before: Vec<String>
§comment_after: Option<String>
§key: String
§value: VdfValue
Implementations§
Source§impl VdfAttribute
impl VdfAttribute
pub fn get_string_value(&self, key: &str) -> Result<&VdfAttribute, VdfError>
Trait Implementations§
Source§impl Debug for VdfAttribute
impl Debug for VdfAttribute
Source§impl PartialEq for VdfAttribute
impl PartialEq for VdfAttribute
impl StructuralPartialEq for VdfAttribute
Auto Trait Implementations§
impl Freeze for VdfAttribute
impl RefUnwindSafe for VdfAttribute
impl Send for VdfAttribute
impl Sync for VdfAttribute
impl Unpin for VdfAttribute
impl UnwindSafe for VdfAttribute
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