pub struct Handoff {
pub project: Option<String>,
pub id: Option<String>,
pub updated: Option<String>,
pub items: Vec<HandoffItem>,
pub log: Vec<LogEntry>,
pub extra: BTreeMap<String, Value>,
}Fields§
§project: Option<String>§id: Option<String>§updated: Option<String>§items: Vec<HandoffItem>§log: Vec<LogEntry>§extra: BTreeMap<String, Value>Implementations§
Source§impl Handoff
impl Handoff
pub fn active_items(&self) -> impl Iterator<Item = &HandoffItem>
pub fn ensure_project(&mut self, project: &str)
pub fn ensure_id_prefix(&mut self, project: &str)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Handoff
impl<'de> Deserialize<'de> for Handoff
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
Auto Trait Implementations§
impl Freeze for Handoff
impl RefUnwindSafe for Handoff
impl Send for Handoff
impl Sync for Handoff
impl Unpin for Handoff
impl UnsafeUnpin for Handoff
impl UnwindSafe for Handoff
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