pub struct PublishRequest<'a> {
pub session_id: &'a str,
pub item: Option<&'a str>,
pub remote: &'a str,
pub account: &'a str,
}Expand description
What to publish.
Fields§
§session_id: &'a strA finished coder session: merged (approved, car/coder/<id>
published) or reported (a no-change finding accepted).
item: Option<&'a str>None publishes a Build and creates the work item; Some publishes the
item’s next stage.
remote: &'a str§account: &'a strThe stage owner. Advisory — see the module docs.
Auto Trait Implementations§
impl<'a> Freeze for PublishRequest<'a>
impl<'a> RefUnwindSafe for PublishRequest<'a>
impl<'a> Send for PublishRequest<'a>
impl<'a> Sync for PublishRequest<'a>
impl<'a> Unpin for PublishRequest<'a>
impl<'a> UnsafeUnpin for PublishRequest<'a>
impl<'a> UnwindSafe for PublishRequest<'a>
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
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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