pub enum ChangesetOperationScope {
Changeset,
Resource,
Range,
}Expand description
Where a {@link ChangesetOperation} can be invoked.
Variants§
Changeset
Applies to the whole changeset.
Resource
Applies to a single file within the changeset.
Range
Applies to a line range within a single file.
Trait Implementations§
Source§impl Clone for ChangesetOperationScope
impl Clone for ChangesetOperationScope
Source§fn clone(&self) -> ChangesetOperationScope
fn clone(&self) -> ChangesetOperationScope
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 Copy for ChangesetOperationScope
Source§impl Debug for ChangesetOperationScope
impl Debug for ChangesetOperationScope
Source§impl<'de> Deserialize<'de> for ChangesetOperationScope
impl<'de> Deserialize<'de> for ChangesetOperationScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChangesetOperationScope
Source§impl Hash for ChangesetOperationScope
impl Hash for ChangesetOperationScope
Source§impl PartialEq for ChangesetOperationScope
impl PartialEq for ChangesetOperationScope
Source§fn eq(&self, other: &ChangesetOperationScope) -> bool
fn eq(&self, other: &ChangesetOperationScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChangesetOperationScope
impl Serialize for ChangesetOperationScope
impl StructuralPartialEq for ChangesetOperationScope
Auto Trait Implementations§
impl Freeze for ChangesetOperationScope
impl RefUnwindSafe for ChangesetOperationScope
impl Send for ChangesetOperationScope
impl Sync for ChangesetOperationScope
impl Unpin for ChangesetOperationScope
impl UnsafeUnpin for ChangesetOperationScope
impl UnwindSafe for ChangesetOperationScope
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