pub enum IncludableString {
Inline(String),
Include {
path: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IncludableString
impl Clone for IncludableString
Source§fn clone(&self) -> IncludableString
fn clone(&self) -> IncludableString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncludableString
impl Debug for IncludableString
Source§impl Default for IncludableString
impl Default for IncludableString
Source§impl<'de> Deserialize<'de> for IncludableString
impl<'de> Deserialize<'de> for IncludableString
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 IncludableString
impl RefUnwindSafe for IncludableString
impl Send for IncludableString
impl Sync for IncludableString
impl Unpin for IncludableString
impl UnwindSafe for IncludableString
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