pub struct LedgerEntry {Show 14 fields
pub kind: EntryKind,
pub client: String,
pub scope: Scope,
pub project_id: Option<String>,
pub file: String,
pub container: String,
pub key: String,
pub server_id: Option<String>,
pub origin: Option<Origin>,
pub written_hash: Option<String>,
pub written_at: Option<String>,
pub store_commit: Option<String>,
pub delivery: Option<String>,
pub extra: Map<String, Value>,
}Expand description
One owned item.
Fields§
§kind: EntryKind§client: String§scope: Scope§project_id: Option<String>§file: StringThe native file, absolute, as resolved on this machine.
container: StringJSON pointer of the container or list (/mcpServers), see
container_pointer.
key: StringThe entry key, or the list member.
server_id: Option<String>§origin: Option<Origin>§written_hash: Option<String>hmac-sha256:<hex> over the mapper’s canonical form of what was
written (LedgerKey::hash).
written_at: Option<String>RFC 3339, UTC.
store_commit: Option<String>Abbreviated store commit the entry was written from.
delivery: Option<String>Delivery mode of the references in the entry (env), if any.
extra: Map<String, Value>Keys a newer build wrote, kept on rewrite.
Implementations§
Source§impl LedgerEntry
impl LedgerEntry
Sourcepub fn slot(&self) -> LedgerSlot<'_>
pub fn slot(&self) -> LedgerSlot<'_>
The container this entry is owned in.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§impl Debug for LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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 PartialEq for LedgerEntry
impl PartialEq for LedgerEntry
Source§impl Serialize for LedgerEntry
impl Serialize for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl Forget for LedgerEntry
impl Freeze for LedgerEntry
impl Move for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for LedgerEntry
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