pub struct ProjectSecurityOptionItem { /* private fields */ }Expand description
One effective raw service security option with authored and interpolated spelling retained.
Implementations§
Source§impl ProjectSecurityOptionItem
impl ProjectSecurityOptionItem
Returns the exact scalar spelling before optional interpolation.
Sourcepub fn value(&self) -> &str
pub fn value(&self) -> &str
Returns the effective scalar spelling after optional interpolation.
Sourcepub const fn scalar_kind(&self) -> MergedScalarKind
pub const fn scalar_kind(&self) -> MergedScalarKind
Returns the retained YAML scalar category.
Sourcepub const fn kind(&self) -> &SecurityOptionKind
pub const fn kind(&self) -> &SecurityOptionKind
Returns the narrow classification of the effective spelling.
Trait Implementations§
Source§impl Clone for ProjectSecurityOptionItem
impl Clone for ProjectSecurityOptionItem
Source§fn clone(&self) -> ProjectSecurityOptionItem
fn clone(&self) -> ProjectSecurityOptionItem
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 ProjectSecurityOptionItem
impl Debug for ProjectSecurityOptionItem
impl Eq for ProjectSecurityOptionItem
impl StructuralPartialEq for ProjectSecurityOptionItem
Auto Trait Implementations§
impl Freeze for ProjectSecurityOptionItem
impl RefUnwindSafe for ProjectSecurityOptionItem
impl Send for ProjectSecurityOptionItem
impl Sync for ProjectSecurityOptionItem
impl Unpin for ProjectSecurityOptionItem
impl UnsafeUnpin for ProjectSecurityOptionItem
impl UnwindSafe for ProjectSecurityOptionItem
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