pub struct Member {
pub ordinal: Ordinal,
pub kind: Kind,
pub name: &'static str,
pub timing: Option<Timing>,
pub payloads: &'static [PayloadInfo],
}Expand description
One member of an interface.
Fields§
§ordinal: OrdinalThe member’s ordinal.
kind: KindThe member’s kind.
name: &'static strThe member’s name.
timing: Option<Timing>The member’s timing, as the IR resolved it. None when the IR carries
no timing: a command or a query with no timing annotation, or a
fixed.
payloads: &'static [PayloadInfo]One entry per payload: two for a query (the request, then the
reply), one for every other kind.
Trait Implementations§
impl Copy for Member
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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