pub struct ServiceEntity {
pub entity_id: String,
pub name: String,
pub kind: String,
pub criticality: String,
pub notes: Option<String>,
pub rotation_interval_days_override: Option<i64>,
pub created_at: i64,
pub modified_at: i64,
}Expand description
Wire DTO for one registry entity.
Fields§
§entity_id: String§name: String§kind: StringEntity kind label (core EntityKind as_str).
criticality: StringCriticality label (core Criticality as_str).
notes: Option<String>§rotation_interval_days_override: Option<i64>§created_at: i64§modified_at: i64Trait Implementations§
Source§impl Clone for ServiceEntity
impl Clone for ServiceEntity
Source§fn clone(&self) -> ServiceEntity
fn clone(&self) -> ServiceEntity
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 ServiceEntity
impl Debug for ServiceEntity
Source§impl<'de> Deserialize<'de> for ServiceEntity
impl<'de> Deserialize<'de> for ServiceEntity
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 ServiceEntity
impl RefUnwindSafe for ServiceEntity
impl Send for ServiceEntity
impl Sync for ServiceEntity
impl Unpin for ServiceEntity
impl UnsafeUnpin for ServiceEntity
impl UnwindSafe for ServiceEntity
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