pub struct ContextResult {
pub branch_name: String,
pub k: usize,
pub commits: Vec<CommitRecord>,
pub ota_records: Vec<OTARecord>,
pub main_roadmap: String,
pub metadata: Option<BranchMetadata>,
}Expand description
Result of the CONTEXT command (paper §3.5). The paper fixes K=1 in experiments (most recent commit record revealed).
Fields§
§branch_name: String§k: usize§commits: Vec<CommitRecord>§ota_records: Vec<OTARecord>§main_roadmap: String§metadata: Option<BranchMetadata>Implementations§
Trait Implementations§
Source§impl Clone for ContextResult
impl Clone for ContextResult
Source§fn clone(&self) -> ContextResult
fn clone(&self) -> ContextResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ContextResult
impl RefUnwindSafe for ContextResult
impl Send for ContextResult
impl Sync for ContextResult
impl Unpin for ContextResult
impl UnsafeUnpin for ContextResult
impl UnwindSafe for ContextResult
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