pub trait ActionsGroup:
GroupType
+ for<'a> Facet<'a>
+ Send
+ Sync {
type Wire: for<'a> Facet<'a> + Into<Self>;
const ROUTE: &'static str;
const UNAVAILABLE_STATUS: Option<u16> = None;
// Provided method
fn body(&self) -> String { ... }
}Expand description
An Actions settings group that has its own route.
The group is read as its wire type and written as itself.
Required Associated Constants§
Provided Associated Constants§
Sourceconst UNAVAILABLE_STATUS: Option<u16> = None
const UNAVAILABLE_STATUS: Option<u16> = None
The status that reads as an unavailable group.
Required Associated Types§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".