pub struct DecisionContextPacket {
pub collection: String,
pub record_id: String,
pub record_version: Option<u64>,
pub reference: String,
pub fields: Vec<String>,
pub values: BTreeMap<String, Value>,
pub withheld_fields: Vec<String>,
pub relevant_state_version: String,
pub context_hash: String,
pub authorization_decisions: Vec<String>,
}Fields§
§collection: String§record_id: String§record_version: Option<u64>§reference: String§fields: Vec<String>§values: BTreeMap<String, Value>§withheld_fields: Vec<String>§relevant_state_version: String§context_hash: StringTrait Implementations§
Source§impl Clone for DecisionContextPacket
impl Clone for DecisionContextPacket
Source§impl Debug for DecisionContextPacket
impl Debug for DecisionContextPacket
Source§impl<'de> Deserialize<'de> for DecisionContextPacket
impl<'de> Deserialize<'de> for DecisionContextPacket
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
impl Eq for DecisionContextPacket
Source§impl PartialEq for DecisionContextPacket
impl PartialEq for DecisionContextPacket
Source§impl Serialize for DecisionContextPacket
impl Serialize for DecisionContextPacket
impl StructuralPartialEq for DecisionContextPacket
Auto Trait Implementations§
impl Freeze for DecisionContextPacket
impl RefUnwindSafe for DecisionContextPacket
impl Send for DecisionContextPacket
impl Sync for DecisionContextPacket
impl Unpin for DecisionContextPacket
impl UnsafeUnpin for DecisionContextPacket
impl UnwindSafe for DecisionContextPacket
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