pub struct ProcValues<T = String> {
pub value: T,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub url: Option<String>,
pub substituted_key: Option<String>,
pub pre_formatted: bool,
}Expand description
Processed values ready for rendering.
Fields§
§value: TThe primary formatted value.
prefix: Option<String>Optional prefix to prepend.
suffix: Option<String>Optional suffix to append.
url: Option<String>Optional URL for hyperlinking.
substituted_key: Option<String>Variable key that was substituted (e.g., “title:Primary” when title replaces author). Used to prevent duplicate rendering per CSL variable-once rule.
pre_formatted: boolWhether the value is already pre-formatted.
Trait Implementations§
Source§impl<T: Clone> Clone for ProcValues<T>
impl<T: Clone> Clone for ProcValues<T>
Source§fn clone(&self) -> ProcValues<T>
fn clone(&self) -> ProcValues<T>
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<T: Debug> Debug for ProcValues<T>
impl<T: Debug> Debug for ProcValues<T>
Source§impl<T: Default> Default for ProcValues<T>
impl<T: Default> Default for ProcValues<T>
Source§fn default() -> ProcValues<T>
fn default() -> ProcValues<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for ProcValues<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProcValues<T>where
T: RefUnwindSafe,
impl<T> Send for ProcValues<T>where
T: Send,
impl<T> Sync for ProcValues<T>where
T: Sync,
impl<T> Unpin for ProcValues<T>where
T: Unpin,
impl<T> UnsafeUnpin for ProcValues<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ProcValues<T>where
T: 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