pub struct CurrentContext {
pub active_sub_project: String,
pub switched_on: DateTime<Utc>,
pub switched_by: String,
pub status: String,
pub metadata: HashMap<String, String>,
}Expand description
Current context tracking for active sub-project
Fields§
§active_sub_project: StringCurrently active sub-project
switched_on: DateTime<Utc>When context was last switched
switched_by: StringWho/what triggered the context switch
status: StringCurrent status/phase description
metadata: HashMap<String, String>Additional context metadata
Trait Implementations§
Source§impl Clone for CurrentContext
impl Clone for CurrentContext
Source§fn clone(&self) -> CurrentContext
fn clone(&self) -> CurrentContext
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 CurrentContext
impl Debug for CurrentContext
Source§impl<'de> Deserialize<'de> for CurrentContext
impl<'de> Deserialize<'de> for CurrentContext
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 CurrentContext
impl PartialEq for CurrentContext
Source§impl Serialize for CurrentContext
impl Serialize for CurrentContext
impl StructuralPartialEq for CurrentContext
Auto Trait Implementations§
impl Freeze for CurrentContext
impl RefUnwindSafe for CurrentContext
impl Send for CurrentContext
impl Sync for CurrentContext
impl Unpin for CurrentContext
impl UnwindSafe for CurrentContext
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