pub enum SkillVersionFileCreateInput {
SkillVersionFileInput(SkillVersionFileInput),
SkillVersionFileReference(SkillVersionFileReference),
}Expand description
SkillVersionFileCreateInput : Provide exactly one of content or sha256Hash for each path.
Variants§
SkillVersionFileInput(SkillVersionFileInput)
SkillVersionFileReference(SkillVersionFileReference)
Trait Implementations§
Source§impl Clone for SkillVersionFileCreateInput
impl Clone for SkillVersionFileCreateInput
Source§impl Debug for SkillVersionFileCreateInput
impl Debug for SkillVersionFileCreateInput
Source§impl<'de> Deserialize<'de> for SkillVersionFileCreateInput
impl<'de> Deserialize<'de> for SkillVersionFileCreateInput
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
impl StructuralPartialEq for SkillVersionFileCreateInput
Source§impl Validate for SkillVersionFileCreateInput
impl Validate for SkillVersionFileCreateInput
Source§fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
Pushes every value that breaks a keyword onto
errors, with its path below path, and nothing when the value
is valid. validate() calls it with Path::root; a model calls it on the models it holds with their path.Auto Trait Implementations§
impl Forget for SkillVersionFileCreateInput
impl Freeze for SkillVersionFileCreateInput
impl Move for SkillVersionFileCreateInput
impl RefUnwindSafe for SkillVersionFileCreateInput
impl Send for SkillVersionFileCreateInput
impl Sync for SkillVersionFileCreateInput
impl Unpin for SkillVersionFileCreateInput
impl UnsafeUnpin for SkillVersionFileCreateInput
impl UnwindSafe for SkillVersionFileCreateInput
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