pub struct AdapterOutput { /* private fields */ }Expand description
Declared adapter values retain JavaScript undefined presence for trusted observers. Serialization omits undefined values, as public JSON does.
Implementations§
Source§impl AdapterOutput
impl AdapterOutput
Sourcepub fn contains_field(&self, name: &str) -> bool
pub fn contains_field(&self, name: &str) -> bool
Whether this is an own declared output property, including undefined.
pub fn field_is_undefined(&self, name: &str) -> bool
Sourcepub const fn values(&self) -> &FieldOutput
pub const fn values(&self) -> &FieldOutput
JSON-representable values. Undefined remains observable through the presence accessors and is intentionally absent from this map.
Trait Implementations§
Source§impl Clone for AdapterOutput
impl Clone for AdapterOutput
Source§impl Debug for AdapterOutput
impl Debug for AdapterOutput
Source§impl Default for AdapterOutput
impl Default for AdapterOutput
Auto Trait Implementations§
impl Freeze for AdapterOutput
impl RefUnwindSafe for AdapterOutput
impl Send for AdapterOutput
impl Sync for AdapterOutput
impl Unpin for AdapterOutput
impl UnsafeUnpin for AdapterOutput
impl UnwindSafe for AdapterOutput
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