Type Alias sep2_common::packages::types::VersionType
source · pub type VersionType = Uint16;
Expand description
Version SHALL indicate a distinct identifier for each revision of an IdentifiedObject. If not specified, a default version of “0” (initial version) SHALL be assumed. Upon modification of any IdentifiedObject, the mRID SHALL remain the same, but the version SHALL be incremented. Servers MAY NOT modify objects that they did not create, unless they were notified of the change from the entity controlling the object’s PEN.
Aliased Type§
struct VersionType(pub u16);
Fields§
§0: u16
Methods from Deref<Target = u16>§
pub const MIN: u16 = 0u16
pub const MAX: u16 = 65_535u16
pub const BITS: u32 = 16u32
Trait Implementations§
source§impl Ord for Uint16
impl Ord for Uint16
source§impl PartialEq<Uint16> for Uint16
impl PartialEq<Uint16> for Uint16
source§impl PartialOrd<Uint16> for Uint16
impl PartialOrd<Uint16> for Uint16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more