pub struct ConfigRecord {
pub action: ConfigAction,
pub key: String,
pub actor: Actor,
pub at: i64,
pub old_hash: Option<String>,
pub new_hash: Option<String>,
pub confirm_until: Option<i64>,
pub why: Option<String>,
}Expand description
NEST-21: one audit record — never a value, only hashes.
Fields§
§action: ConfigAction§key: String§actor: ActorWho: the principal, then each service it came through.
at: i64Unix milliseconds.
old_hash: Option<String>The value in effect before, hashed.
new_hash: Option<String>The value set, hashed.
confirm_until: Option<i64>A confirmed commit’s deadline (unix ms).
why: Option<String>Why, for a refusal.
Trait Implementations§
Source§impl Clone for ConfigRecord
impl Clone for ConfigRecord
Source§impl Debug for ConfigRecord
impl Debug for ConfigRecord
Source§impl<'de> Deserialize<'de> for ConfigRecord
impl<'de> Deserialize<'de> for ConfigRecord
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 JsonSchema for ConfigRecord
impl JsonSchema for ConfigRecord
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ConfigRecord
impl PartialEq for ConfigRecord
Source§impl Serialize for ConfigRecord
impl Serialize for ConfigRecord
impl StructuralPartialEq for ConfigRecord
Auto Trait Implementations§
impl Forget for ConfigRecord
impl Freeze for ConfigRecord
impl RefUnwindSafe for ConfigRecord
impl Send for ConfigRecord
impl Sync for ConfigRecord
impl Unpin for ConfigRecord
impl UnsafeUnpin for ConfigRecord
impl UnwindSafe for ConfigRecord
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