pub enum IdShape {
JsonString,
JsonInteger,
}Expand description
Which shape a platform’s immutable identifier takes in its response.
The bare-integer form takes its structural terminator with it, which is what proves the revealed digits are the whole number rather than a prefix of a longer one (REQ-PLAT-51).
Variants§
Trait Implementations§
impl Copy for IdShape
impl Eq for IdShape
impl StructuralPartialEq for IdShape
Auto Trait Implementations§
impl Freeze for IdShape
impl RefUnwindSafe for IdShape
impl Send for IdShape
impl Sync for IdShape
impl Unpin for IdShape
impl UnsafeUnpin for IdShape
impl UnwindSafe for IdShape
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