pub struct PayloadEntry {
pub path: String,
pub kind: EntryKind,
pub link_target: Option<String>,
}Expand description
One entry as the link rules see it.
Fields§
§path: StringPayload-relative path, forward slashes.
kind: EntryKindWhat the entry is.
link_target: Option<String>The raw link body, present only on a link.
Implementations§
Trait Implementations§
Source§impl Clone for PayloadEntry
impl Clone for PayloadEntry
Source§fn clone(&self) -> PayloadEntry
fn clone(&self) -> PayloadEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PayloadEntry
impl Debug for PayloadEntry
impl Eq for PayloadEntry
Source§impl PartialEq for PayloadEntry
impl PartialEq for PayloadEntry
impl StructuralPartialEq for PayloadEntry
Auto Trait Implementations§
impl Freeze for PayloadEntry
impl RefUnwindSafe for PayloadEntry
impl Send for PayloadEntry
impl Sync for PayloadEntry
impl Unpin for PayloadEntry
impl UnsafeUnpin for PayloadEntry
impl UnwindSafe for PayloadEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.