pub struct VersionPluginDependencies {
pub name: String,
pub required: bool,
pub external_url: Option<String>,
pub platform: Platform,
}Fields§
§name: StringName of the plugin dependency. For non-external dependencies, this should be the Hangar project name
required: boolWhether the dependency is required for the plugin to function
external_url: Option<String>External url to download the dependency from if not a Hangar project, else null
platform: PlatformServer platform
Trait Implementations§
Source§impl Debug for VersionPluginDependencies
impl Debug for VersionPluginDependencies
Source§impl<'de> Deserialize<'de> for VersionPluginDependencies
impl<'de> Deserialize<'de> for VersionPluginDependencies
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 VersionPluginDependencies
impl RefUnwindSafe for VersionPluginDependencies
impl Send for VersionPluginDependencies
impl Sync for VersionPluginDependencies
impl Unpin for VersionPluginDependencies
impl UnwindSafe for VersionPluginDependencies
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