pub struct AgreedCounters {
pub counters: HashMap<String, u32>,
}Expand description
Per-type counters for agreed IDs assigned at merge-to-trunk.
Fields§
§counters: HashMap<String, u32>Maps type prefix to the last assigned agreed sequence number. e.g., {“FR”: 422, “FEAT”: 89}
Implementations§
Trait Implementations§
Source§impl Clone for AgreedCounters
impl Clone for AgreedCounters
Source§fn clone(&self) -> AgreedCounters
fn clone(&self) -> AgreedCounters
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 AgreedCounters
impl Debug for AgreedCounters
Source§impl Default for AgreedCounters
impl Default for AgreedCounters
Source§fn default() -> AgreedCounters
fn default() -> AgreedCounters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgreedCounters
impl<'de> Deserialize<'de> for AgreedCounters
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 AgreedCounters
impl RefUnwindSafe for AgreedCounters
impl Send for AgreedCounters
impl Sync for AgreedCounters
impl Unpin for AgreedCounters
impl UnsafeUnpin for AgreedCounters
impl UnwindSafe for AgreedCounters
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