pub struct ValueSlotEntry {
pub digest: String,
pub kind: ValueKind,
pub slot: String,
pub updated_at: String,
pub value: Option<String>,
}Expand description
ValueSlotEntry
JSON schema
{
"type": "object",
"required": [
"digest",
"kind",
"slot",
"updatedAt"
],
"properties": {
"digest": {
"description": "Keyed digest of the value, lowercase hex.",
"type": "string"
},
"kind": {
"$ref": "#/components/schemas/ValueKind"
},
"slot": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"value": {
"description": "The value, for plain slots only.",
"type": [
"string",
"null"
]
}
}
}Fields§
§digest: StringKeyed digest of the value, lowercase hex.
kind: ValueKind§slot: String§updated_at: String§value: Option<String>The value, for plain slots only.
Implementations§
Source§impl ValueSlotEntry
impl ValueSlotEntry
pub fn builder() -> ValueSlotEntry
Trait Implementations§
Source§impl Clone for ValueSlotEntry
impl Clone for ValueSlotEntry
Source§impl Debug for ValueSlotEntry
impl Debug for ValueSlotEntry
Source§impl<'de> Deserialize<'de> for ValueSlotEntry
impl<'de> Deserialize<'de> for ValueSlotEntry
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 From<&ValueSlotEntry> for ValueSlotEntry
impl From<&ValueSlotEntry> for ValueSlotEntry
Source§fn from(value: &ValueSlotEntry) -> Self
fn from(value: &ValueSlotEntry) -> Self
Converts to this type from the input type.
Source§impl From<ValueSlotEntry> for ValueSlotEntry
impl From<ValueSlotEntry> for ValueSlotEntry
Source§fn from(value: ValueSlotEntry) -> Self
fn from(value: ValueSlotEntry) -> Self
Converts to this type from the input type.
Source§impl Serialize for ValueSlotEntry
impl Serialize for ValueSlotEntry
Source§impl TryFrom<ValueSlotEntry> for ValueSlotEntry
impl TryFrom<ValueSlotEntry> for ValueSlotEntry
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ValueSlotEntry) -> Result<Self, ConversionError>
fn try_from(value: ValueSlotEntry) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ValueSlotEntry
impl Freeze for ValueSlotEntry
impl Move for ValueSlotEntry
impl RefUnwindSafe for ValueSlotEntry
impl Send for ValueSlotEntry
impl Sync for ValueSlotEntry
impl Unpin for ValueSlotEntry
impl UnsafeUnpin for ValueSlotEntry
impl UnwindSafe for ValueSlotEntry
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