pub enum ServiceMethodKind {
Find,
Get,
Create,
Update,
Patch,
Remove,
Custom(&'static str),
}Expand description
Standard service methods, similar to Feathers: find, get, create, update, patch, remove.
Custom methods are declared via Custom("methodName").
Variants§
Trait Implementations§
Source§impl Clone for ServiceMethodKind
impl Clone for ServiceMethodKind
Source§fn clone(&self) -> ServiceMethodKind
fn clone(&self) -> ServiceMethodKind
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 ServiceMethodKind
impl Debug for ServiceMethodKind
Source§impl Hash for ServiceMethodKind
impl Hash for ServiceMethodKind
Source§impl PartialEq for ServiceMethodKind
impl PartialEq for ServiceMethodKind
impl Eq for ServiceMethodKind
impl StructuralPartialEq for ServiceMethodKind
Auto Trait Implementations§
impl Freeze for ServiceMethodKind
impl RefUnwindSafe for ServiceMethodKind
impl Send for ServiceMethodKind
impl Sync for ServiceMethodKind
impl Unpin for ServiceMethodKind
impl UnwindSafe for ServiceMethodKind
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