pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub async fn new_with(settings: Config) -> Result<Self, Error>
pub fn branch(&self) -> &str
pub fn pull_release(&self) -> &str
pub fn title(&self) -> &str
pub fn set_title(&mut self, title: &str)
pub fn create_entry(&mut self) -> Result<(), Error>
pub fn update_changelog( &mut self, ) -> Result<Option<(ChangeKind, String)>, Error>
pub fn commit_changelog(&self) -> Result<String, Error>
pub fn commit_changelog_gpg(&self) -> Result<String, Error>
pub fn push_changelog(&self) -> Result<(), Error>
source§impl Client
impl Client
pub fn section(&self) -> Option<&str>
pub fn entry(&self) -> Option<&str>
pub fn pr_number(&self) -> &str
pub fn pr_number_as_u64(&self) -> u64
pub fn owner(&self) -> &str
pub fn repo(&self) -> &str
pub fn changelog(&self) -> &str
pub fn set_changelog(&mut self, changelog: &str)
pub fn repo_status(&self) -> Result<String, Error>
pub fn branch_list(&self) -> Result<String, Error>
pub fn branch_status(&self) -> Result<String, Error>
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl !Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more