pub struct Origin {
pub state_id: ChangeId,
pub attribution: Attribution,
pub created_at: DateTime<Utc>,
pub authored_at: Option<DateTime<Utc>>,
}Fields§
§state_id: ChangeId§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<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 Origin
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