pub struct RemoteUpdatePublisher { /* private fields */ }Implementations§
Source§impl RemoteUpdatePublisher
impl RemoteUpdatePublisher
pub const fn new(github: GitHubClient) -> Self
pub fn publish( &self, file_updates: &[FileUpdate], changes: &[UpdateChange], options: &PullRequestOptions, ) -> Result<Option<PullRequestResult>>
Trait Implementations§
Source§impl Clone for RemoteUpdatePublisher
impl Clone for RemoteUpdatePublisher
Source§fn clone(&self) -> RemoteUpdatePublisher
fn clone(&self) -> RemoteUpdatePublisher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RemoteUpdatePublisher
impl !UnwindSafe for RemoteUpdatePublisher
impl Freeze for RemoteUpdatePublisher
impl Send for RemoteUpdatePublisher
impl Sync for RemoteUpdatePublisher
impl Unpin for RemoteUpdatePublisher
impl UnsafeUnpin for RemoteUpdatePublisher
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