pub struct ProjectExposeItem { /* private fields */ }Expand description
One effective service expose scalar with authored spelling and YAML kind retained.
Implementations§
Source§impl ProjectExposeItem
impl ProjectExposeItem
Returns the exact scalar spelling before optional interpolation.
Sourcepub fn value(&self) -> &str
pub fn value(&self) -> &str
Returns the exact effective scalar spelling after optional interpolation.
Sourcepub const fn scalar_kind(&self) -> ExposeScalarKind
pub const fn scalar_kind(&self) -> ExposeScalarKind
Returns whether the YAML scalar was authored as a string or number.
Sourcepub const fn kind(&self) -> &ExposeItemKind
pub const fn kind(&self) -> &ExposeItemKind
Returns the conservative classification of the effective spelling.
Trait Implementations§
Source§impl Clone for ProjectExposeItem
impl Clone for ProjectExposeItem
Source§fn clone(&self) -> ProjectExposeItem
fn clone(&self) -> ProjectExposeItem
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 ProjectExposeItem
impl Debug for ProjectExposeItem
impl Eq for ProjectExposeItem
Source§impl PartialEq for ProjectExposeItem
impl PartialEq for ProjectExposeItem
impl StructuralPartialEq for ProjectExposeItem
Auto Trait Implementations§
impl Freeze for ProjectExposeItem
impl RefUnwindSafe for ProjectExposeItem
impl Send for ProjectExposeItem
impl Sync for ProjectExposeItem
impl Unpin for ProjectExposeItem
impl UnsafeUnpin for ProjectExposeItem
impl UnwindSafe for ProjectExposeItem
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