pub struct Property { /* private fields */ }
Expand description
Represents a name-value pair for a field in a JSON5 object.
Implementations§
Source§impl Property
impl Property
Sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
An unquoted or quoted property name. If unquoted, JSON5 property
names comply with the ECMAScript 5.1 IdentifierName
requirements.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Property
impl !RefUnwindSafe for Property
impl !Send for Property
impl !Sync for Property
impl Unpin for Property
impl !UnwindSafe for Property
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)