struct Decoded {
comment: Option<Comment>,
order: Option<i64>,
style: Option<StringStyle>,
dotted: Option<bool>,
value: AnnotatedValue,
}Expand description
A decoded value whose marker fields have not been applied yet, so that composed markers can still be merged.
Fields§
§comment: Option<Comment>§order: Option<i64>§style: Option<StringStyle>§dotted: Option<bool>§value: AnnotatedValueImplementations§
Source§impl Decoded
impl Decoded
const fn plain(value: AnnotatedValue) -> Self
fn decode(value: &Value) -> Result<Self, DocumentError>
fn marker(object: &VObject) -> Result<Self, DocumentError>
fn into_ranked(self) -> Result<Ranked, DocumentError>
Source§impl Decoded
impl Decoded
fn dotted( dotted: bool, value: AnnotatedValue, ) -> Result<AnnotatedValue, DocumentError>
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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