pub struct LabelChange {
pub question_id: String,
pub old_kind: QuestionKind,
pub new_kind: QuestionKind,
pub old_labels: Vec<String>,
pub new_labels: Vec<String>,
}Expand description
One changed question in a failed label-set evolution check.
Fields§
§question_id: StringThe question whose contract changed.
old_kind: QuestionKindKind in the prior schema.
new_kind: QuestionKindKind in the new schema.
old_labels: Vec<String>Labels in the prior schema.
new_labels: Vec<String>Labels in the new schema.
Trait Implementations§
Source§impl Clone for LabelChange
impl Clone for LabelChange
Source§fn clone(&self) -> LabelChange
fn clone(&self) -> LabelChange
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 moreSource§impl Debug for LabelChange
impl Debug for LabelChange
Source§impl PartialEq for LabelChange
impl PartialEq for LabelChange
Source§fn eq(&self, other: &LabelChange) -> bool
fn eq(&self, other: &LabelChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LabelChange
Auto Trait Implementations§
impl Freeze for LabelChange
impl RefUnwindSafe for LabelChange
impl Send for LabelChange
impl Sync for LabelChange
impl Unpin for LabelChange
impl UnsafeUnpin for LabelChange
impl UnwindSafe for LabelChange
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