pub struct Notice {
pub kind: NoticeKind,
pub message: String,
}Expand description
Something the reader did instead of what it does by default (#912),
with the reason — see DoclingDocument::notices.
Fields§
§kind: NoticeKind§message: StringOne line: what was hit, the effective limit, what the document lacks because of it.
Implementations§
Source§impl Notice
impl Notice
Sourcepub fn depth_limit(what: &str, variable: &'static str, limit: usize) -> Self
pub fn depth_limit(what: &str, variable: &'static str, limit: usize) -> Self
A NoticeKind::DepthLimit notice for what (the format read).
Trait Implementations§
impl Eq for Notice
impl StructuralPartialEq for Notice
Auto Trait Implementations§
impl Forget for Notice
impl Freeze for Notice
impl Move for Notice
impl RefUnwindSafe for Notice
impl Send for Notice
impl Sync for Notice
impl Unpin for Notice
impl UnsafeUnpin for Notice
impl UnwindSafe for Notice
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.