pub enum PinRaw {
Literal {
project: String,
tag: String,
},
Pattern {
project: String,
tag_pattern: String,
select: String,
},
SelfBranch {
project: String,
branch: String,
repo_dir_path: Option<PathBuf>,
},
SelfSha {
project: String,
sha: String,
repo_dir_path: Option<PathBuf>,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinRaw
impl<'de> Deserialize<'de> for PinRaw
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 Eq for PinRaw
impl StructuralPartialEq for PinRaw
Auto Trait Implementations§
impl Freeze for PinRaw
impl RefUnwindSafe for PinRaw
impl Send for PinRaw
impl Sync for PinRaw
impl Unpin for PinRaw
impl UnsafeUnpin for PinRaw
impl UnwindSafe for PinRaw
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