pub struct DataObject<N> {
pub node: N,
pub role: DataObjectRole,
}Expand description
One original property within the fully authenticated SignedProperties.
Fields§
§node: NOriginal element, never a reconstructed property or URI string.
role: DataObjectRoleStructural role; this does not assert the property’s semantic validity.
Trait Implementations§
Source§impl<N: Clone> Clone for DataObject<N>
impl<N: Clone> Clone for DataObject<N>
impl<N: Copy> Copy for DataObject<N>
Source§impl<N: Debug> Debug for DataObject<N>
impl<N: Debug> Debug for DataObject<N>
impl<N: Eq> Eq for DataObject<N>
Source§impl<N: PartialEq> PartialEq for DataObject<N>
impl<N: PartialEq> PartialEq for DataObject<N>
impl<N: PartialEq> StructuralPartialEq for DataObject<N>
Auto Trait Implementations§
impl<N> Forget for DataObject<N>
impl<N> Freeze for DataObject<N>where
N: Freeze,
impl<N> RefUnwindSafe for DataObject<N>where
N: RefUnwindSafe,
impl<N> Send for DataObject<N>where
N: Send,
impl<N> Sync for DataObject<N>where
N: Sync,
impl<N> Unpin for DataObject<N>where
N: Unpin,
impl<N> UnsafeUnpin for DataObject<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for DataObject<N>where
N: UnwindSafe,
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