pub struct VersionMeta {
pub brand: Option<String>,
pub updated_at: Option<i32>,
pub version: Option<i32>,
}Fields§
§brand: Option<String>Brand is the white-label key this revision was authored under; empty is the shared base playbook. Revisions of two brands never share a number line.
updated_at: Option<i32>UpdatedAt is when this revision was written, as Unix seconds — the "who changed the playbook, and when" half of the audit trail.
version: Option<i32>Version is the store’s own revision counter for that brand, starting at 1 for the seeded playbook and incrementing on every edit. Nothing is overwritten, so the highest number is the live one and every lower number is still readable. It is not the playbook’s authored version string.
Implementations§
Source§impl VersionMeta
impl VersionMeta
pub fn new() -> VersionMeta
Trait Implementations§
Source§impl Clone for VersionMeta
impl Clone for VersionMeta
Source§fn clone(&self) -> VersionMeta
fn clone(&self) -> VersionMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionMeta
impl Debug for VersionMeta
Source§impl Default for VersionMeta
impl Default for VersionMeta
Source§fn default() -> VersionMeta
fn default() -> VersionMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionMeta
impl<'de> Deserialize<'de> for VersionMeta
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
Source§impl PartialEq for VersionMeta
impl PartialEq for VersionMeta
Source§impl Serialize for VersionMeta
impl Serialize for VersionMeta
impl StructuralPartialEq for VersionMeta
Auto Trait Implementations§
impl Freeze for VersionMeta
impl RefUnwindSafe for VersionMeta
impl Send for VersionMeta
impl Sync for VersionMeta
impl Unpin for VersionMeta
impl UnsafeUnpin for VersionMeta
impl UnwindSafe for VersionMeta
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