pub struct IRSession {
pub node_type: &'static str,
pub source_line: u32,
pub source_column: u32,
pub name: String,
pub roles: Vec<IRSessionRole>,
}Expand description
Compiled binary session — exactly two dual roles (verified at type-check).
Fields§
§node_type: &'static str§source_line: u32§source_column: u32§name: String§roles: Vec<IRSessionRole>Trait Implementations§
Source§impl Serialize for IRSession
impl Serialize for IRSession
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IRSession
impl RefUnwindSafe for IRSession
impl Send for IRSession
impl Sync for IRSession
impl Unpin for IRSession
impl UnsafeUnpin for IRSession
impl UnwindSafe for IRSession
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