pub struct ReleaseIntent {
pub mode: ReleaseMode,
pub driver: Option<String>,
pub style: Option<Style>,
pub line_prefix: Option<String>,
}Expand description
The release intent: the mode and, for an automatic release, its driver, style, and line prefix.
SATISFIES project-profile:release-intent-has-three-modes
Fields§
§mode: ReleaseModeThe mode.
driver: Option<String>The technology that states the version and takes the bot; present for an automatic release alone.
style: Option<Style>The release style; present for an automatic release alone.
line_prefix: Option<String>The release-line branch prefix; present for an automatic release alone.
Trait Implementations§
Source§impl Clone for ReleaseIntent
impl Clone for ReleaseIntent
Source§impl Debug for ReleaseIntent
impl Debug for ReleaseIntent
Source§impl<'de> Deserialize<'de> for ReleaseIntent
impl<'de> Deserialize<'de> for ReleaseIntent
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 ReleaseIntent
Source§impl PartialEq for ReleaseIntent
impl PartialEq for ReleaseIntent
Source§impl Serialize for ReleaseIntent
impl Serialize for ReleaseIntent
impl StructuralPartialEq for ReleaseIntent
Auto Trait Implementations§
impl Freeze for ReleaseIntent
impl RefUnwindSafe for ReleaseIntent
impl Send for ReleaseIntent
impl Sync for ReleaseIntent
impl Unpin for ReleaseIntent
impl UnsafeUnpin for ReleaseIntent
impl UnwindSafe for ReleaseIntent
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
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.