pub struct Pair {
pub driver: String,
pub forge: Forge,
pub repo: String,
pub trunk: String,
pub artifacts: bool,
pub package: Option<String>,
pub registry_answer: Option<RegistryAnswer>,
}Expand description
What the landed pair releases through, from the record.
Fields§
§driver: StringThe release driver.
forge: ForgeThe forge.
repo: StringThe project path on the forge.
trunk: StringThe trunk branch.
artifacts: boolWhether the landing builds artifacts the release page carries.
package: Option<String>The package name the registry knows, where the pair has one.
registry_answer: Option<RegistryAnswer>The recorded profile.release.registry answer, absent where the
target never answered it.
Implementations§
Source§impl Pair
impl Pair
Sourcepub fn request_prefix(&self) -> Option<&'static str>
pub fn request_prefix(&self) -> Option<&'static str>
The head branch prefix the driver’s release request carries.
Sourcepub fn publish_workflow(&self) -> Option<&'static str>
pub fn publish_workflow(&self) -> Option<&'static str>
The workflow file that tags and publishes, on GitHub.
Sourcepub fn artifact_workflow(&self) -> Option<&'static str>
pub fn artifact_workflow(&self) -> Option<&'static str>
The workflow file that builds the artifacts, on GitHub, where the landing builds any.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Pair
impl Freeze for Pair
impl Move for Pair
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnsafeUnpin for Pair
impl UnwindSafe for Pair
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