Struct hubcaps::releases::ReleaseOptions [−][src]
pub struct ReleaseOptions { pub tag_name: String, pub target_commitish: Option<String>, pub name: Option<String>, pub body: Option<String>, pub draft: Option<bool>, pub prerelease: Option<bool>, }
Fields
tag_name: String
target_commitish: Option<String>
name: Option<String>
body: Option<String>
draft: Option<bool>
prerelease: Option<bool>
Methods
impl ReleaseOptions
[src]
impl ReleaseOptions
pub fn new<T, C, N, B>(
tag: T,
commit: Option<C>,
name: Option<N>,
body: Option<B>,
draft: Option<bool>,
prerelease: Option<bool>
) -> Self where
T: Into<String>,
C: Into<String>,
N: Into<String>,
B: Into<String>,
[src]
pub fn new<T, C, N, B>(
tag: T,
commit: Option<C>,
name: Option<N>,
body: Option<B>,
draft: Option<bool>,
prerelease: Option<bool>
) -> Self where
T: Into<String>,
C: Into<String>,
N: Into<String>,
B: Into<String>,
pub fn builder<T>(tag: T) -> ReleaseOptionsBuilder where
T: Into<String>,
[src]
pub fn builder<T>(tag: T) -> ReleaseOptionsBuilder where
T: Into<String>,
Trait Implementations
impl Debug for ReleaseOptions
[src]
impl Debug for ReleaseOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ReleaseOptions
[src]
impl Default for ReleaseOptions
fn default() -> ReleaseOptions
[src]
fn default() -> ReleaseOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ReleaseOptions
impl Send for ReleaseOptions
impl Sync for ReleaseOptions
impl Sync for ReleaseOptions