pub struct SpecMetadata {
pub author: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub phase: SpecPhase,
pub status: SpecStatus,
}Expand description
Metadata about a specification
Fields§
Author of the spec
created_at: DateTime<Utc>When the spec was created
updated_at: DateTime<Utc>When the spec was last updated
phase: SpecPhaseCurrent phase of the spec
status: SpecStatusCurrent status of the spec
Trait Implementations§
Source§impl Clone for SpecMetadata
impl Clone for SpecMetadata
Source§fn clone(&self) -> SpecMetadata
fn clone(&self) -> SpecMetadata
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 SpecMetadata
impl Debug for SpecMetadata
Source§impl<'de> Deserialize<'de> for SpecMetadata
impl<'de> Deserialize<'de> for SpecMetadata
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 SpecMetadata
impl RefUnwindSafe for SpecMetadata
impl Send for SpecMetadata
impl Sync for SpecMetadata
impl Unpin for SpecMetadata
impl UnwindSafe for SpecMetadata
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