pub struct AnchorRecord {
pub resource: ResourceId,
pub name: StrRef,
pub target: NodeId,
}Expand description
Frozen static or dynamic anchor declaration.
Fields§
§resource: ResourceIdResource declaring this anchor.
name: StrRefPlain-name anchor value.
target: NodeIdSchema node identified by the anchor.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorRecord
impl<'__de, __Context> BorrowDecode<'__de, __Context> for AnchorRecord
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for AnchorRecord
impl Clone for AnchorRecord
Source§impl Debug for AnchorRecord
impl Debug for AnchorRecord
Source§impl<__Context> Decode<__Context> for AnchorRecord
impl<__Context> Decode<__Context> for AnchorRecord
Source§impl Encode for AnchorRecord
impl Encode for AnchorRecord
impl Eq for AnchorRecord
Source§impl Hash for AnchorRecord
impl Hash for AnchorRecord
Source§impl PartialEq for AnchorRecord
impl PartialEq for AnchorRecord
impl StructuralPartialEq for AnchorRecord
Auto Trait Implementations§
impl Freeze for AnchorRecord
impl RefUnwindSafe for AnchorRecord
impl Send for AnchorRecord
impl Sync for AnchorRecord
impl Unpin for AnchorRecord
impl UnsafeUnpin for AnchorRecord
impl UnwindSafe for AnchorRecord
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