pub struct LogMetadata {
pub log_id: String,
pub log_origin: LogOrigin,
pub log_public_key: Ed25519PublicKey,
pub api_url: Option<String>,
}Expand description
Static metadata about a transparency log backend.
Args:
log_id— Stable identifier for trust config lookup (e.g.,"sigstore-rekor").log_origin— C2SP checkpoint origin string.log_public_key— The log’s public key for checkpoint verification.api_url— Optional API endpoint URL.
Usage:
ⓘ
let meta = log.metadata();
println!("Log: {} ({})", meta.log_id, meta.log_origin);Fields§
§log_id: StringStable identifier used in trust config and bundle format.
log_origin: LogOriginC2SP checkpoint origin string (byte-for-byte match required).
log_public_key: Ed25519PublicKeyThe log’s public key for checkpoint signature verification.
api_url: Option<String>API endpoint URL, if applicable.
Trait Implementations§
Source§impl Clone for LogMetadata
impl Clone for LogMetadata
Source§fn clone(&self) -> LogMetadata
fn clone(&self) -> LogMetadata
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 moreAuto Trait Implementations§
impl Freeze for LogMetadata
impl RefUnwindSafe for LogMetadata
impl Send for LogMetadata
impl Sync for LogMetadata
impl Unpin for LogMetadata
impl UnsafeUnpin for LogMetadata
impl UnwindSafe for LogMetadata
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