pub struct Framework {
pub key: String,
pub class: String,
pub custom: bool,
pub locations: BTreeMap<String, String>,
}Expand description
A framework installer: its key (wordpress), its PHP class, custom if
the class overrides a BaseInstaller method (paths not ported), and its
type-to-template table (plugin -> wp-content/plugins/{$name}/).
Fields§
§key: String§class: String§custom: bool§locations: BTreeMap<String, String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Framework
impl<'de> Deserialize<'de> for Framework
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 Framework
impl RefUnwindSafe for Framework
impl Send for Framework
impl Sync for Framework
impl Unpin for Framework
impl UnsafeUnpin for Framework
impl UnwindSafe for Framework
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