pub struct SkillUsageLine {
pub name: String,
pub held: Vec<HeldSkill>,
pub versions: Vec<SkillVersion>,
pub uses: Vec<SkillUse>,
pub per_day: Vec<DayCount>,
}Expand description
One skill, by name: where it sits now, the contents runs have read, and every time one of them read it.
Fields§
§name: String§held: Vec<HeldSkill>Every shelf that holds the name now, with what it holds there. Empty for a skill the ledger saw used that no shelf holds any more.
versions: Vec<SkillVersion>Each content a run was frozen with, oldest first.
uses: Vec<SkillUse>Every use, in ledger order.
per_day: Vec<DayCount>Uses per UTC calendar day, oldest day first.
Trait Implementations§
Source§impl Clone for SkillUsageLine
impl Clone for SkillUsageLine
Source§impl Debug for SkillUsageLine
impl Debug for SkillUsageLine
Source§impl<'de> Deserialize<'de> for SkillUsageLine
impl<'de> Deserialize<'de> for SkillUsageLine
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
impl Eq for SkillUsageLine
Source§impl PartialEq for SkillUsageLine
impl PartialEq for SkillUsageLine
Source§impl Serialize for SkillUsageLine
impl Serialize for SkillUsageLine
impl StructuralPartialEq for SkillUsageLine
Auto Trait Implementations§
impl Freeze for SkillUsageLine
impl RefUnwindSafe for SkillUsageLine
impl Send for SkillUsageLine
impl Sync for SkillUsageLine
impl Unpin for SkillUsageLine
impl UnsafeUnpin for SkillUsageLine
impl UnwindSafe for SkillUsageLine
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