pub struct ExportedMethod<'a> {
pub name: &'a str,
pub mode: MethodMode,
}Expand description
Borrowed method identity for comparing declared and exported interfaces.
Fields§
§name: &'a strComplete method name after its IC export prefix, including whitespace.
mode: MethodModeExport namespace: update, query or composite query, never oneway.
Trait Implementations§
Source§impl<'a> Clone for ExportedMethod<'a>
impl<'a> Clone for ExportedMethod<'a>
impl<'a> Copy for ExportedMethod<'a>
Source§impl<'a> Debug for ExportedMethod<'a>
impl<'a> Debug for ExportedMethod<'a>
impl<'a> Eq for ExportedMethod<'a>
Source§impl<'a> Ord for ExportedMethod<'a>
impl<'a> Ord for ExportedMethod<'a>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'a> PartialEq for ExportedMethod<'a>
impl<'a> PartialEq for ExportedMethod<'a>
Source§impl<'a> PartialOrd for ExportedMethod<'a>
impl<'a> PartialOrd for ExportedMethod<'a>
impl<'a> StructuralPartialEq for ExportedMethod<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportedMethod<'a>
impl<'a> RefUnwindSafe for ExportedMethod<'a>
impl<'a> Send for ExportedMethod<'a>
impl<'a> Sync for ExportedMethod<'a>
impl<'a> Unpin for ExportedMethod<'a>
impl<'a> UnsafeUnpin for ExportedMethod<'a>
impl<'a> UnwindSafe for ExportedMethod<'a>
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