pub struct RenderCapability {
pub formats: Vec<String>,
pub all: bool,
}Expand description
Rendering capability.
Fields§
§formats: Vec<String>Output formats produced, e.g. ["html"].
all: boolWhether the plugin handles request::RenderTransformAll.
Trait Implementations§
Source§impl Clone for RenderCapability
impl Clone for RenderCapability
Source§impl Debug for RenderCapability
impl Debug for RenderCapability
Source§impl Default for RenderCapability
impl Default for RenderCapability
Source§impl<'de> Deserialize<'de> for RenderCapability
impl<'de> Deserialize<'de> for RenderCapability
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
Source§impl PartialEq for RenderCapability
impl PartialEq for RenderCapability
Source§impl Serialize for RenderCapability
impl Serialize for RenderCapability
impl StructuralPartialEq for RenderCapability
Auto Trait Implementations§
impl Forget for RenderCapability
impl Freeze for RenderCapability
impl Move for RenderCapability
impl RefUnwindSafe for RenderCapability
impl Send for RenderCapability
impl Sync for RenderCapability
impl Unpin for RenderCapability
impl UnsafeUnpin for RenderCapability
impl UnwindSafe for RenderCapability
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