pub struct Origin {
pub state_id: StateId,
pub attribution: Attribution,
pub created_at: DateTime<Utc>,
pub authored_at: Option<DateTime<Utc>>,
}Fields§
§state_id: StateId§attribution: Attribution§created_at: DateTime<Utc>Committer time — when the state object came into being. Stable across re-imports because it’s part of the state hash.
Authoring time, when distinct from created_at. Populated by
the git-ingest importer from the commit’s authored_at so
blame can match git’s default of showing author time. Native
heddle commits leave this None and blame falls back to
created_at. Tail-only optional field for forward compat.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Origin
impl<'de> Deserialize<'de> for Origin
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Origin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Origin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Origin
Source§impl Serialize for Origin
impl Serialize for Origin
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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