pub enum PathList {
Single(String),
Many(Vec<String>),
}Expand description
A “string-or-list-of-strings” wrapper used by every components.* field.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathList
impl<'de> Deserialize<'de> for PathList
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 PathList
impl RefUnwindSafe for PathList
impl Send for PathList
impl Sync for PathList
impl Unpin for PathList
impl UnsafeUnpin for PathList
impl UnwindSafe for PathList
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