pub enum QuoteSource {
Governance {
id: GovernanceLogId,
},
Summary {
id: GovernanceLogId,
},
RepoFile {
path: String,
},
Post {
id: PostId,
},
Comment {
id: CommentId,
},
Github {
url: String,
},
}Expand description
Where a quote is checked before signing
Variants§
Governance
A governance entry: its latest version (revisions applied) and, for an amendment, the texts stored beside it. Checked by the writer
Fields
§
id: GovernanceLogIdSummary
A decision’s generated summary (the precedent corpus). Checked by the writer, which warns that a summary is not the signed record
Fields
§
id: GovernanceLogIdRepoFile
A file in this repository, relative to its root, as checked out where the writer runs. Checked by the writer
Post
A post. Checked by the operator (--quote-checked-by)
Comment
A comment. Checked by the operator
Github
A GitHub issue, PR or comment, by URL. Checked by the operator
Implementations§
Source§impl QuoteSource
impl QuoteSource
Trait Implementations§
Source§impl Clone for QuoteSource
impl Clone for QuoteSource
Source§impl Debug for QuoteSource
impl Debug for QuoteSource
Source§impl<'de> Deserialize<'de> for QuoteSource
impl<'de> Deserialize<'de> for QuoteSource
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 QuoteSource
Source§impl PartialEq for QuoteSource
impl PartialEq for QuoteSource
impl StructuralPartialEq for QuoteSource
Auto Trait Implementations§
impl Freeze for QuoteSource
impl RefUnwindSafe for QuoteSource
impl Send for QuoteSource
impl Sync for QuoteSource
impl Unpin for QuoteSource
impl UnsafeUnpin for QuoteSource
impl UnwindSafe for QuoteSource
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.