pub struct ProposalRecordEntry {
pub id: String,
pub proposer: Option<String>,
pub ancestor: String,
pub base: String,
pub target_tip: String,
pub merged_by: Option<String>,
pub at: String,
pub description: Option<String>,
pub entities: BTreeMap<String, RecordedDisposition>,
}Expand description
One merged proposal in the record.
Fields§
§id: StringThe proposal’s id: the fork’s name and its base sha.
proposer: Option<String>§ancestor: String§base: String§target_tip: String§merged_by: Option<String>§at: String§description: Option<String>The proposal in the owner’s words: the disposition file’s
description, or the merge’s note when the file carried none.
Absent when neither was given, and on every entry written before
the field existed; the key is left off the bytes then.
entities: BTreeMap<String, RecordedDisposition>Per slug: the disposition, the reason and the content hash of the proposed version (never its body).
Trait Implementations§
Source§impl Clone for ProposalRecordEntry
impl Clone for ProposalRecordEntry
Source§impl Debug for ProposalRecordEntry
impl Debug for ProposalRecordEntry
Source§impl Default for ProposalRecordEntry
impl Default for ProposalRecordEntry
Source§impl<'de> Deserialize<'de> for ProposalRecordEntry
impl<'de> Deserialize<'de> for ProposalRecordEntry
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 ProposalRecordEntry
impl PartialEq for ProposalRecordEntry
Source§impl Serialize for ProposalRecordEntry
impl Serialize for ProposalRecordEntry
impl StructuralPartialEq for ProposalRecordEntry
Auto Trait Implementations§
impl Forget for ProposalRecordEntry
impl Freeze for ProposalRecordEntry
impl Move for ProposalRecordEntry
impl RefUnwindSafe for ProposalRecordEntry
impl Send for ProposalRecordEntry
impl Sync for ProposalRecordEntry
impl Unpin for ProposalRecordEntry
impl UnsafeUnpin for ProposalRecordEntry
impl UnwindSafe for ProposalRecordEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more