[][src]Struct octocrab::repos::UpdateFileBuilder

pub struct UpdateFileBuilder<'octo, 'r> { /* fields omitted */ }

Implementations

impl<'octo, 'r> UpdateFileBuilder<'octo, 'r>[src]

pub fn branch(self, branch: impl Into<String>) -> Self[src]

The branch to commit to.

pub fn commiter(self, commiter: impl Into<AuthorUser>) -> Self[src]

The person that commited the file.

pub fn author(self, author: impl Into<AuthorUser>) -> Self[src]

The author of the file.

pub async fn send(self) -> Result<FileUpdate>[src]

Sends the actual request.

Trait Implementations

impl<'octo, 'r> Serialize for UpdateFileBuilder<'octo, 'r>[src]

Auto Trait Implementations

impl<'octo, 'r> !RefUnwindSafe for UpdateFileBuilder<'octo, 'r>

impl<'octo, 'r> Send for UpdateFileBuilder<'octo, 'r>

impl<'octo, 'r> Sync for UpdateFileBuilder<'octo, 'r>

impl<'octo, 'r> Unpin for UpdateFileBuilder<'octo, 'r> where
    'octo: 'r, 

impl<'octo, 'r> !UnwindSafe for UpdateFileBuilder<'octo, 'r>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.