pub struct RefEntry {
pub target: CommitHash,
pub update_seq: u64,
pub updater: PublicKey,
pub auth_epoch: u64,
pub signature: Signature,
}Expand description
One ref pointer. Phase 1.0 only accepts entries where
updater == parameters.owner.
Fields§
§target: CommitHashCommit the ref points at.
update_seq: u64Strictly-monotonic counter for this ref.
updater: PublicKeyPublic key that signed this entry. In Phase 1.0 must equal
parameters.owner.
auth_epoch: u64ACL epoch at which this update was signed. Phase 1.0 always uses
0 (no ACL changes).
signature: SignatureSignature by updater over the canonical ref-update payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RefEntry
impl<'de> Deserialize<'de> for RefEntry
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 Eq for RefEntry
impl StructuralPartialEq for RefEntry
Auto Trait Implementations§
impl Freeze for RefEntry
impl RefUnwindSafe for RefEntry
impl Send for RefEntry
impl Sync for RefEntry
impl Unpin for RefEntry
impl UnsafeUnpin for RefEntry
impl UnwindSafe for RefEntry
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