pub enum ViewValueRef<'a> {
Text(&'a str),
I64(i64),
U64(u64),
Bool(bool),
Redacted,
}Expand description
A safe borrowed value exposed by a descriptor-validated view.
Variants§
Text(&'a str)
Bounded normalized text.
I64(i64)
A signed integer.
U64(u64)
An unsigned integer.
Bool(bool)
A Boolean value.
Redacted
A key-only marker for secret-bearing input.
Trait Implementations§
Source§impl<'a> Clone for ViewValueRef<'a>
impl<'a> Clone for ViewValueRef<'a>
impl<'a> Copy for ViewValueRef<'a>
Source§impl Debug for ViewValueRef<'_>
impl Debug for ViewValueRef<'_>
impl<'a> Eq for ViewValueRef<'a>
Source§impl<'a> PartialEq for ViewValueRef<'a>
impl<'a> PartialEq for ViewValueRef<'a>
impl<'a> StructuralPartialEq for ViewValueRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ViewValueRef<'a>
impl<'a> RefUnwindSafe for ViewValueRef<'a>
impl<'a> Send for ViewValueRef<'a>
impl<'a> Sync for ViewValueRef<'a>
impl<'a> Unpin for ViewValueRef<'a>
impl<'a> UnsafeUnpin for ViewValueRef<'a>
impl<'a> UnwindSafe for ViewValueRef<'a>
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