pub struct SpecEntry {
pub name: &'static str,
pub lean_spec: fn() -> String,
pub has_lifecycle: bool,
}Expand description
One registered #[derive(VerifiedAccounts)] struct.
Fields§
§name: &'static str§lean_spec: fn() -> StringThe Milestone-1 AccountsStruct literal (Lean source).
has_lifecycle: boolTrue if any field carries an init/close constraint (selects the obligation kind).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpecEntry
impl RefUnwindSafe for SpecEntry
impl Send for SpecEntry
impl Sync for SpecEntry
impl Unpin for SpecEntry
impl UnsafeUnpin for SpecEntry
impl UnwindSafe for SpecEntry
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