pub struct ValidationUtils;
Expand description
Validation utilities
Implementations§
Source§impl ValidationUtils
impl ValidationUtils
Sourcepub fn validate_repository(repository: &str) -> Result<()>
pub fn validate_repository(repository: &str) -> Result<()>
Validate repository name
Sourcepub fn validate_reference(reference: &str) -> Result<()>
pub fn validate_reference(reference: &str) -> Result<()>
Validate reference (tag or digest)
Sourcepub fn validate_digest(digest: &str) -> Result<()>
pub fn validate_digest(digest: &str) -> Result<()>
Validate digest format
Auto Trait Implementations§
impl Freeze for ValidationUtils
impl RefUnwindSafe for ValidationUtils
impl Send for ValidationUtils
impl Sync for ValidationUtils
impl Unpin for ValidationUtils
impl UnwindSafe for ValidationUtils
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