pub struct SessionType {
pub name: String,
pub fields: Vec<(String, Type, Value)>,
}Expand description
One declared session state type.
Fields§
§name: String§fields: Vec<(String, Type, Value)>Field name, type and initial value.
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
Auto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnsafeUnpin for SessionType
impl UnwindSafe for SessionType
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