pub struct HealthRef {
pub state: Option<String>,
pub source: Option<String>,
pub policy_version: Option<String>,
pub updated_at: Option<String>,
}Expand description
The recurrence metadata an issue carries (series:), mission
recurring-issues-01M3C7G7.
The current-health half of the health: frontmatter key (mission
project-issue-health-status-01M3C8HX, WP02 T007).
Every field is the file’s own spelling and every field is optional, so a partial or hand-written block round-trips as written; the health layer interprets it.
Fields§
§state: Option<String>The current state, e.g. on_track.
source: Option<String>How it was obtained: current, derived, or override.
policy_version: Option<String>The policy version the value was derived under, when it was derived.
updated_at: Option<String>When the value was last updated, as the event recorded it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HealthRef
impl<'de> Deserialize<'de> for HealthRef
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 HealthRef
impl StructuralPartialEq for HealthRef
Auto Trait Implementations§
impl Freeze for HealthRef
impl RefUnwindSafe for HealthRef
impl Send for HealthRef
impl Sync for HealthRef
impl Unpin for HealthRef
impl UnsafeUnpin for HealthRef
impl UnwindSafe for HealthRef
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.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