Struct gitpatcher::apply_patches::email::EmailMessage
source · pub struct EmailMessage { /* private fields */ }
Implementations§
source§impl EmailMessage
impl EmailMessage
pub fn parse(msg: &str) -> Result<Self, InvalidEmailMessage>
pub fn full_message(&self) -> String
source§impl EmailMessage
impl EmailMessage
sourcepub fn apply_commit(&self, target: &Repository) -> Result<(), PatchApplyError>
pub fn apply_commit(&self, target: &Repository) -> Result<(), PatchApplyError>
Apply this email as a new commit against the repo
Auto Trait Implementations§
impl RefUnwindSafe for EmailMessage
impl Send for EmailMessage
impl !Sync for EmailMessage
impl Unpin for EmailMessage
impl UnwindSafe for EmailMessage
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