pub enum EnvironmentSource {
Gcs {
source: Option<String>,
target: Option<String>,
},
Inline {
target: Option<String>,
content: Option<String>,
encoding: Option<String>,
},
Repository {
source: Option<String>,
target: Option<String>,
},
SkillRegistry {
source: Option<String>,
target: Option<String>,
},
}Expand description
Environment source — type-tagged polymorphic.
Variants§
Trait Implementations§
Source§impl Clone for EnvironmentSource
impl Clone for EnvironmentSource
Source§fn clone(&self) -> EnvironmentSource
fn clone(&self) -> EnvironmentSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvironmentSource
impl Debug for EnvironmentSource
Source§impl<'de> Deserialize<'de> for EnvironmentSource
impl<'de> Deserialize<'de> for EnvironmentSource
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 PartialEq for EnvironmentSource
impl PartialEq for EnvironmentSource
Source§impl Serialize for EnvironmentSource
impl Serialize for EnvironmentSource
impl StructuralPartialEq for EnvironmentSource
Auto Trait Implementations§
impl Freeze for EnvironmentSource
impl RefUnwindSafe for EnvironmentSource
impl Send for EnvironmentSource
impl Sync for EnvironmentSource
impl Unpin for EnvironmentSource
impl UnsafeUnpin for EnvironmentSource
impl UnwindSafe for EnvironmentSource
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