pub(super) struct LedgerRow {Show 15 fields
pub(super) spec_or_item: String,
pub(super) manifest_path: String,
pub(super) manifest_key: String,
pub(super) owning_spell_ids: Vec<u32>,
pub(super) child_spell_ids: Vec<u32>,
pub(super) hook_file: Option<String>,
pub(super) hook_function: Option<String>,
pub(super) hook_operation: Option<usize>,
pub(super) category: OperationCategory,
pub(super) semantic_ids: Vec<Box<str>>,
pub(super) disposition: LedgerDisposition,
pub(super) evidence: String,
pub(super) spec_count: usize,
pub(super) operation_count: usize,
pub(super) effect_coordinates: Vec<(u32, u8)>,
}Fields§
§spec_or_item: String§manifest_path: String§manifest_key: String§owning_spell_ids: Vec<u32>§child_spell_ids: Vec<u32>§hook_file: Option<String>§hook_function: Option<String>§hook_operation: Option<usize>§category: OperationCategory§semantic_ids: Vec<Box<str>>§disposition: LedgerDisposition§evidence: String§spec_count: usize§operation_count: usize§effect_coordinates: Vec<(u32, u8)>Implementations§
Source§impl LedgerRow
impl LedgerRow
pub(super) fn new( source: impl Into<LedgerSource>, finding: impl Into<LedgerFinding>, ) -> Self
pub(super) fn owner(self, spell_id: u32) -> Self
pub(super) fn child(self, spell_id: u32) -> Self
pub(super) fn effect(self, spell_id: u32, effect: u8) -> Self
pub(super) fn hook(self, file: &Path, function: String) -> Self
Trait Implementations§
impl Eq for LedgerRow
impl StructuralPartialEq for LedgerRow
Auto Trait Implementations§
impl Freeze for LedgerRow
impl RefUnwindSafe for LedgerRow
impl Send for LedgerRow
impl Sync for LedgerRow
impl Unpin for LedgerRow
impl UnsafeUnpin for LedgerRow
impl UnwindSafe for LedgerRow
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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