Struct eva_sdk::prelude::ServiceMethod
source · [−]pub struct ServiceMethod { /* private fields */ }Expand description
info-structure only, can be used by clients for auto-completion
Implementations
sourceimpl ServiceMethod
impl ServiceMethod
pub fn new(name: &str) -> ServiceMethod
pub fn description(self, desc: &str) -> ServiceMethod
pub fn required(self, name: &str) -> ServiceMethod
pub fn optional(self, name: &str) -> ServiceMethod
Auto Trait Implementations
impl RefUnwindSafe for ServiceMethod
impl Send for ServiceMethod
impl Sync for ServiceMethod
impl Unpin for ServiceMethod
impl UnwindSafe for ServiceMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more