pub struct SizedBean {
pub id: String,
pub title: String,
pub tokens: u64,
pub action: BeanAction,
pub priority: u8,
pub dependencies: Vec<String>,
pub parent: Option<String>,
pub produces: Vec<String>,
pub requires: Vec<String>,
pub paths: Vec<String>,
}Expand description
A bean with sizing and dispatch action.
Fields§
§id: String§title: String§tokens: u64§action: BeanAction§priority: u8§dependencies: Vec<String>§parent: Option<String>§produces: Vec<String>§requires: Vec<String>§paths: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SizedBean
impl RefUnwindSafe for SizedBean
impl Send for SizedBean
impl Sync for SizedBean
impl Unpin for SizedBean
impl UnsafeUnpin for SizedBean
impl UnwindSafe for SizedBean
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