Struct litehouse_config::Import
source · pub struct Import {
pub registry: Option<String>,
pub plugin: String,
pub version: Option<Version>,
pub sha: Option<Blake3>,
}
Expand description
A plugin import. Serializes to a string with the format registry::plugin
Fields§
§registry: Option<String>
§plugin: String
§version: Option<Version>
§sha: Option<Blake3>
Implementations§
source§impl Import
impl Import
Trait Implementations§
source§impl<'de> Deserialize<'de> for Import
impl<'de> Deserialize<'de> for Import
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 Ord for Import
impl Ord for Import
source§impl PartialEq for Import
impl PartialEq for Import
source§impl PartialOrd for Import
impl PartialOrd for Import
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Import
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
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