pub trait CommonOps {
fn common(&self) -> &Common;
fn kind(&self) -> &str { ... }
fn from(&self) -> &PublicId { ... }
fn date(&self) -> &DateTime<FixedOffset> { ... }
fn date_utc(&self) -> DateTime<Utc> { ... }
fn author_id(&self) -> &Id { ... }
fn author_public_id(&self) -> &PublicId { ... }
fn ensure_kind_is(&self, kind: &str) -> ValidationResult<()> { ... }
}
Expand description
Common operations on types containing Common