pub struct PromoteRequest<'a> {
pub from: String,
pub to: String,
pub selector: &'a PromoteSelector,
pub dry_run: bool,
pub ctx: &'a Context,
}Expand description
A single publisher’s promotion request: the resolved native from/to
tracks (already mapped through Promotable::resolve_track by
dispatch_promotions), the PromoteSelector, the dry-run flag, and the
Context handle the publisher reads config / version / logger from.
Fields§
§from: StringSource track, in this publisher’s native vocabulary.
to: StringDestination track, in this publisher’s native vocabulary.
selector: &'a PromoteSelectorWhat to promote.
dry_run: boolWhen true, resolve and print the plan but run no external command.
ctx: &'a ContextShared context: config, resolved version, logger.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PromoteRequest<'a>
impl<'a> !Send for PromoteRequest<'a>
impl<'a> !Sync for PromoteRequest<'a>
impl<'a> !UnwindSafe for PromoteRequest<'a>
impl<'a> Freeze for PromoteRequest<'a>
impl<'a> Unpin for PromoteRequest<'a>
impl<'a> UnsafeUnpin for PromoteRequest<'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