pub struct NewSegmentFlag<'a> {
pub job_id: &'a str,
pub segment_id: &'a str,
pub kind: &'a str,
pub note: Option<&'a str>,
pub suggested_source: Option<&'a str>,
pub suggested_target: Option<&'a str>,
pub consumed: bool,
}Fields§
§job_id: &'a str§segment_id: &'a str§kind: &'a str§note: Option<&'a str>§suggested_source: Option<&'a str>§suggested_target: Option<&'a str>§consumed: boolTrait Implementations§
Source§impl<'a> Clone for NewSegmentFlag<'a>
impl<'a> Clone for NewSegmentFlag<'a>
Source§fn clone(&self) -> NewSegmentFlag<'a>
fn clone(&self) -> NewSegmentFlag<'a>
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 moreimpl<'a> Copy for NewSegmentFlag<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewSegmentFlag<'a>
impl<'a> RefUnwindSafe for NewSegmentFlag<'a>
impl<'a> Send for NewSegmentFlag<'a>
impl<'a> Sync for NewSegmentFlag<'a>
impl<'a> Unpin for NewSegmentFlag<'a>
impl<'a> UnsafeUnpin for NewSegmentFlag<'a>
impl<'a> UnwindSafe for NewSegmentFlag<'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