#[non_exhaustive]pub enum ProjectBuildSsh {
Map(Vec<ProjectBuildSshEntry>),
List(Vec<ProjectValue<String>>),
}Expand description
Effective sensitive BuildKit SSH grants retaining mapping or list syntax.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Map(Vec<ProjectBuildSshEntry>)
Mapping syntax with sensitive keyed scalar entries.
List(Vec<ProjectValue<String>>)
List syntax with sensitive raw ordered grant strings.
Implementations§
Source§impl ProjectBuildSsh
impl ProjectBuildSsh
Sourcepub fn as_map(&self) -> Option<&[ProjectBuildSshEntry]>
pub fn as_map(&self) -> Option<&[ProjectBuildSshEntry]>
Explicitly returns raw mapping-form SSH grants.
Sourcepub fn as_list(&self) -> Option<&[ProjectValue<String>]>
pub fn as_list(&self) -> Option<&[ProjectValue<String>]>
Explicitly returns raw list-form SSH grants.
Trait Implementations§
Source§impl Clone for ProjectBuildSsh
impl Clone for ProjectBuildSsh
Source§fn clone(&self) -> ProjectBuildSsh
fn clone(&self) -> ProjectBuildSsh
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 ProjectBuildSsh
impl Debug for ProjectBuildSsh
impl Eq for ProjectBuildSsh
Source§impl PartialEq for ProjectBuildSsh
impl PartialEq for ProjectBuildSsh
impl StructuralPartialEq for ProjectBuildSsh
Auto Trait Implementations§
impl Freeze for ProjectBuildSsh
impl RefUnwindSafe for ProjectBuildSsh
impl Send for ProjectBuildSsh
impl Sync for ProjectBuildSsh
impl Unpin for ProjectBuildSsh
impl UnsafeUnpin for ProjectBuildSsh
impl UnwindSafe for ProjectBuildSsh
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