pub struct Override {
pub request_id: Option<String>,
pub field_path: Option<String>,
pub masked_field_value: Option<Box<Entity>>,
pub status: Option<OverrideStatus>,
pub provenance: Option<Provenance>,
pub type: Option<OverrideType>,
pub request_timestamp: Option<DateTime<Utc>>,
}Expand description
Details about an override. Last write wins.
Fields§
§request_id: Option<String>override request id for an override request
field_path: Option<String>proto field path which is the string representation of a field. example: correlated.primary_entity_id would be primary_entity_id in correlated component
masked_field_value: Option<Box<Entity>>new field value corresponding to field path. In the shape of an empty entity with only the changed value. example: entity: { mil_view: { disposition: Disposition_DISPOSITION_HOSTILE } }
status: Option<OverrideStatus>status of the override
provenance: Option<Provenance>§type: Option<OverrideType>The type of the override, defined by the stage of the entity lifecycle that the entity was in when the override was requested.
request_timestamp: Option<DateTime<Utc>>Timestamp of the override request. The timestamp is generated by the Entity Manager instance that receives the request.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Override
impl<'de> Deserialize<'de> for Override
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
impl StructuralPartialEq for Override
Auto Trait Implementations§
impl Freeze for Override
impl RefUnwindSafe for Override
impl Send for Override
impl Sync for Override
impl Unpin for Override
impl UnwindSafe for Override
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