pub struct ProposalCard {
pub id: B3Hash,
pub run: RunId,
pub baseline: B3Hash,
pub span: Span,
pub slices: Vec<Slice>,
pub offered: Option<Seq>,
}Expand description
One open card: who offered it, on which stretch of which version, and its sentences.
Fields§
§id: B3Hash§run: RunId§baseline: B3Hash§span: Span§slices: Vec<Slice>§offered: Option<Seq>The proposal_offered line that offered this card, in run’s
session (crates/wire/spec/Answer/Proposals.lean D44). None
when the line is outside that session’s window or does not read
back; a letter then draws the whole conversation.
Trait Implementations§
Source§impl Clone for ProposalCard
impl Clone for ProposalCard
Source§impl Debug for ProposalCard
impl Debug for ProposalCard
Source§impl<'de> Deserialize<'de> for ProposalCard
impl<'de> Deserialize<'de> for ProposalCard
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 ProposalCard
Source§impl PartialEq for ProposalCard
impl PartialEq for ProposalCard
Source§impl Serialize for ProposalCard
impl Serialize for ProposalCard
impl StructuralPartialEq for ProposalCard
Auto Trait Implementations§
impl Freeze for ProposalCard
impl RefUnwindSafe for ProposalCard
impl Send for ProposalCard
impl Sync for ProposalCard
impl Unpin for ProposalCard
impl UnsafeUnpin for ProposalCard
impl UnwindSafe for ProposalCard
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