Struct lemmy_help::Class
source · [−]pub struct Class {
pub name: String,
pub desc: Option<String>,
pub fields: Vec<Object>,
pub see: Vec<String>,
}
Expand description
Grammar
—@class MY_TYPE[:PARENT_TYPE] [@comment]
Emmy
—@class CMode Comment modes - Can be manual or computed in operator-pending phase —@field toggle number Toggle action —@field comment number Comment action —@field uncomment number Uncomment action
Help
CMode *CMode* Comment modes - Can be manual or computed in operator-pending phase
Fields: ~
{toggle} (number) Toggle action
{comment} (number) Comment action
{uncomment} (number) Uncomment action
Fields
name: String
desc: Option<String>
fields: Vec<Object>
see: Vec<String>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more