Struct cedar_policy_core::entities::JsonRecord
source · pub struct JsonRecord { /* private fields */ }
Expand description
Structure representing a Cedar record in JSON
Implementations§
Trait Implementations§
source§impl Clone for JsonRecord
impl Clone for JsonRecord
source§fn clone(&self) -> JsonRecord
fn clone(&self) -> JsonRecord
Returns a copy of the value. Read more
1.0.0 · 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 JsonRecord
impl Debug for JsonRecord
source§impl<'de> Deserialize<'de> for JsonRecord
impl<'de> Deserialize<'de> for JsonRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromIterator<(SmolStr, CedarValueJson)> for JsonRecord
impl FromIterator<(SmolStr, CedarValueJson)> for JsonRecord
source§fn from_iter<T: IntoIterator<Item = (SmolStr, CedarValueJson)>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = (SmolStr, CedarValueJson)>>(iter: T) -> Self
Creates a value from an iterator. Read more
source§impl<'a> IntoIterator for &'a JsonRecord
impl<'a> IntoIterator for &'a JsonRecord
§type Item = (&'a SmolStr, &'a CedarValueJson)
type Item = (&'a SmolStr, &'a CedarValueJson)
The type of the elements being iterated over.
§type IntoIter = <&'a BTreeMap<SmolStr, CedarValueJson> as IntoIterator>::IntoIter
type IntoIter = <&'a BTreeMap<SmolStr, CedarValueJson> as IntoIterator>::IntoIter
Which kind of iterator are we turning this into?
source§impl IntoIterator for JsonRecord
impl IntoIterator for JsonRecord
source§impl PartialEq for JsonRecord
impl PartialEq for JsonRecord
source§fn eq(&self, other: &JsonRecord) -> bool
fn eq(&self, other: &JsonRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JsonRecord
impl Serialize for JsonRecord
impl Eq for JsonRecord
impl StructuralPartialEq for JsonRecord
Auto Trait Implementations§
impl Freeze for JsonRecord
impl RefUnwindSafe for JsonRecord
impl Send for JsonRecord
impl Sync for JsonRecord
impl Unpin for JsonRecord
impl UnwindSafe for JsonRecord
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