Enum spyglass_lens::types::LensSource
source · pub enum LensSource {
Local,
Remote(String),
}
Expand description
The lens source is used to identify if the lens was provided by a remote lens provider or if it is a locally created lens. Depending on the provider different features might be available
Variants§
Trait Implementations§
source§impl Clone for LensSource
impl Clone for LensSource
source§fn clone(&self) -> LensSource
fn clone(&self) -> LensSource
Returns a copy 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 LensSource
impl Debug for LensSource
source§impl Default for LensSource
impl Default for LensSource
source§fn default() -> LensSource
fn default() -> LensSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LensSource
impl<'de> Deserialize<'de> for LensSource
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 RefUnwindSafe for LensSource
impl Send for LensSource
impl Sync for LensSource
impl Unpin for LensSource
impl UnwindSafe for LensSource
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