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 actionFields
name: Stringdesc: 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more