pub struct EditRequest<'a> {
pub file: &'a str,
pub id: &'a str,
pub comment: &'a str,
}Fields§
§file: &'a strFile containing the comment to edit.
id: &'a strThe comment to edit.
comment: &'a strText of the comment to edit.
Trait Implementations§
Source§impl<'a> Clone for EditRequest<'a>
impl<'a> Clone for EditRequest<'a>
Source§fn clone(&self) -> EditRequest<'a>
fn clone(&self) -> EditRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for EditRequest<'a>
impl<'a> Debug for EditRequest<'a>
Source§impl<'a> Default for EditRequest<'a>
impl<'a> Default for EditRequest<'a>
Source§fn default() -> EditRequest<'a>
fn default() -> EditRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for EditRequest<'a>
impl<'a> RefUnwindSafe for EditRequest<'a>
impl<'a> Send for EditRequest<'a>
impl<'a> Sync for EditRequest<'a>
impl<'a> Unpin for EditRequest<'a>
impl<'a> UnwindSafe for EditRequest<'a>
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