pub struct XmlOutputContext {
pub iteration: Option<u32>,
pub pass: Option<u32>,
pub snippets: Vec<XmlCodeSnippet>,
}Expand description
Context for XML output events.
Provides additional context like iteration or pass number for more informative rendering.
Fields§
§iteration: Option<u32>Development iteration number (1-based).
pass: Option<u32>Review pass number (1-based).
snippets: Vec<XmlCodeSnippet>Optional code snippets to enrich rendering (e.g., review issues).
This allows semantic renderers to show relevant code context even when the issue description itself does not embed a fenced code block.
Trait Implementations§
Source§impl Clone for XmlOutputContext
impl Clone for XmlOutputContext
Source§fn clone(&self) -> XmlOutputContext
fn clone(&self) -> XmlOutputContext
Returns a duplicate of the value. Read more
1.0.0 · 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 XmlOutputContext
impl Debug for XmlOutputContext
Source§impl Default for XmlOutputContext
impl Default for XmlOutputContext
Source§fn default() -> XmlOutputContext
fn default() -> XmlOutputContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for XmlOutputContext
impl<'de> Deserialize<'de> for XmlOutputContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for XmlOutputContext
impl PartialEq for XmlOutputContext
Source§impl Serialize for XmlOutputContext
impl Serialize for XmlOutputContext
impl Eq for XmlOutputContext
impl StructuralPartialEq for XmlOutputContext
Auto Trait Implementations§
impl Freeze for XmlOutputContext
impl RefUnwindSafe for XmlOutputContext
impl Send for XmlOutputContext
impl Sync for XmlOutputContext
impl Unpin for XmlOutputContext
impl UnwindSafe for XmlOutputContext
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more