pub struct VaultRefV1 {
pub ns: String,
pub name: String,
}Expand description
The vault a git repository maps to, as @<ns>/<name>.
Fields§
§ns: String§name: StringImplementations§
Source§impl VaultRefV1
impl VaultRefV1
pub fn validate(&self) -> Result<(), ValidationError>
Sourcepub fn parse(value: &str) -> Result<Self, ValidationError>
pub fn parse(value: &str) -> Result<Self, ValidationError>
Parse <ns>/<name> as lean-ctx hive link takes it.
Trait Implementations§
Source§impl Clone for VaultRefV1
impl Clone for VaultRefV1
Source§impl Debug for VaultRefV1
impl Debug for VaultRefV1
Source§impl<'de> Deserialize<'de> for VaultRefV1
impl<'de> Deserialize<'de> for VaultRefV1
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 VaultRefV1
Source§impl PartialEq for VaultRefV1
impl PartialEq for VaultRefV1
Source§impl Serialize for VaultRefV1
impl Serialize for VaultRefV1
impl StructuralPartialEq for VaultRefV1
Auto Trait Implementations§
impl Forget for VaultRefV1
impl Freeze for VaultRefV1
impl Move for VaultRefV1
impl RefUnwindSafe for VaultRefV1
impl Send for VaultRefV1
impl Sync for VaultRefV1
impl Unpin for VaultRefV1
impl UnsafeUnpin for VaultRefV1
impl UnwindSafe for VaultRefV1
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