Struct hubcaps::pulls::PullEditOptionsBuilder
[−]
[src]
pub struct PullEditOptionsBuilder { pub title: Option<String>, pub body: Option<String>, pub state: Option<String>, }
Fields
title: Option<String>
body: Option<String>
state: Option<String>
Methods
impl PullEditOptionsBuilder
[src]
fn new() -> PullEditOptionsBuilder
fn title<T>(&mut self, title: T) -> &mut PullEditOptionsBuilder where
T: Into<String>,
T: Into<String>,
set the title of the pull
fn body<B>(&mut self, body: B) -> &mut PullEditOptionsBuilder where
B: Into<String>,
B: Into<String>,
set the body of the pull
fn state<S>(&mut self, state: S) -> &mut PullEditOptionsBuilder where
S: Into<String>,
S: Into<String>,
set the state of the pull
fn build(&self) -> PullEditOptions
create a new set of pull edit options
Trait Implementations
impl Default for PullEditOptionsBuilder
[src]
fn default() -> PullEditOptionsBuilder
Returns the "default value" for a type. Read more