pub struct Json<'a> {
pub tag_name: Cow<'a, str>,
pub target_commitish: Option<Cow<'a, str>>,
pub previous_tag_name: Option<Cow<'a, str>>,
pub configuration_file_path: Option<Cow<'a, str>>,
pub additionalProperties: HashMap<Cow<'a, str>, Value>,
}Fields§
§tag_name: Cow<'a, str>The tag name for the release. This can be an existing tag or a new one.
target_commitish: Option<Cow<'a, str>>Specifies the commitish value that will be the target for the release’s tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists.
previous_tag_name: Option<Cow<'a, str>>The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release.
configuration_file_path: Option<Cow<'a, str>>Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at ‘.github/release.yml’ or ‘.github/release.yaml’ will be used. If that is not present, the default configuration will be used.
additionalProperties: HashMap<Cow<'a, str>, Value>Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Json<'a>
impl<'de, 'a> Deserialize<'de> for Json<'a>
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<'a> Eq for Json<'a>
impl<'a> StructuralPartialEq for Json<'a>
Auto Trait Implementations§
impl<'a> Freeze for Json<'a>
impl<'a> RefUnwindSafe for Json<'a>
impl<'a> Send for Json<'a>
impl<'a> Sync for Json<'a>
impl<'a> Unpin for Json<'a>
impl<'a> UnwindSafe for Json<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.