pub enum WriteMethods {
Create,
Patch,
Update,
AllWrites,
}Expand description
Which write methods should a schema hook apply to?
Variants§
Implementations§
Source§impl WriteMethods
impl WriteMethods
pub fn matches(&self, method: &ServiceMethodKind) -> bool
Trait Implementations§
Source§impl Clone for WriteMethods
impl Clone for WriteMethods
Source§fn clone(&self) -> WriteMethods
fn clone(&self) -> WriteMethods
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 Debug for WriteMethods
impl Debug for WriteMethods
Source§impl PartialEq for WriteMethods
impl PartialEq for WriteMethods
impl Copy for WriteMethods
impl Eq for WriteMethods
impl StructuralPartialEq for WriteMethods
Auto Trait Implementations§
impl Freeze for WriteMethods
impl RefUnwindSafe for WriteMethods
impl Send for WriteMethods
impl Sync for WriteMethods
impl Unpin for WriteMethods
impl UnwindSafe for WriteMethods
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