pub struct FormatterInfo {
pub name: String,
pub extensions: Vec<String>,
pub enabled: bool,
}Expand description
Status of a formatter.
The /formatter endpoint returns an array of these.
Fields§
§name: StringFormatter name.
extensions: Vec<String>File extensions this formatter handles.
enabled: boolWhether formatter is enabled.
Trait Implementations§
Source§impl Clone for FormatterInfo
impl Clone for FormatterInfo
Source§fn clone(&self) -> FormatterInfo
fn clone(&self) -> FormatterInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatterInfo
impl Debug for FormatterInfo
Source§impl<'de> Deserialize<'de> for FormatterInfo
impl<'de> Deserialize<'de> for FormatterInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FormatterInfo
impl RefUnwindSafe for FormatterInfo
impl Send for FormatterInfo
impl Sync for FormatterInfo
impl Unpin for FormatterInfo
impl UnwindSafe for FormatterInfo
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