pub struct LidFallback {
pub anchor: Option<String>,
pub value: String,
}Expand description
A single drift-fallback assignment. anchor is the URL anchor when
available (HTML / plaintext fields); None for positional contexts
like subject / preheader where the placeholder has no URL anchor.
Fields§
§anchor: Option<String>§value: StringTrait Implementations§
Source§impl Clone for LidFallback
impl Clone for LidFallback
Source§fn clone(&self) -> LidFallback
fn clone(&self) -> LidFallback
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 LidFallback
impl Debug for LidFallback
Source§impl PartialEq for LidFallback
impl PartialEq for LidFallback
Source§fn eq(&self, other: &LidFallback) -> bool
fn eq(&self, other: &LidFallback) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LidFallback
impl StructuralPartialEq for LidFallback
Auto Trait Implementations§
impl Freeze for LidFallback
impl RefUnwindSafe for LidFallback
impl Send for LidFallback
impl Sync for LidFallback
impl Unpin for LidFallback
impl UnsafeUnpin for LidFallback
impl UnwindSafe for LidFallback
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.