pub struct QueuedDraft {
pub stable_identity: String,
pub root: String,
pub draft: DraftProposalV1,
}Expand description
The payload of a knowledge outbox item.
Fields§
§stable_identity: Stringstable_identity of the project (never leaves the machine as such).
root: StringLocal checkout the draft came from, to resolve the project later.
draft: DraftProposalV1Trait Implementations§
Source§impl Clone for QueuedDraft
impl Clone for QueuedDraft
Source§impl Debug for QueuedDraft
impl Debug for QueuedDraft
Source§impl<'de> Deserialize<'de> for QueuedDraft
impl<'de> Deserialize<'de> for QueuedDraft
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 QueuedDraft
impl PartialEq for QueuedDraft
Source§impl Serialize for QueuedDraft
impl Serialize for QueuedDraft
impl StructuralPartialEq for QueuedDraft
Auto Trait Implementations§
impl Freeze for QueuedDraft
impl RefUnwindSafe for QueuedDraft
impl Send for QueuedDraft
impl Sync for QueuedDraft
impl Unpin for QueuedDraft
impl UnsafeUnpin for QueuedDraft
impl UnwindSafe for QueuedDraft
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>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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