pub struct PlanContextRecord { /* private fields */ }Expand description
Immutable canonical declared context shared by every operation in one plan.
Implementations§
Source§impl PlanContextRecord
impl PlanContextRecord
Sourcepub fn new(request: &PlanContextRequest) -> Result<Self, OperationPlanError>
pub fn new(request: &PlanContextRequest) -> Result<Self, OperationPlanError>
Canonicalize exact declarations without IO or fresh authorization.
§Errors
Rejects malformed principal or SHA-256 digest fields.
Trait Implementations§
Source§impl Clone for PlanContextRecord
impl Clone for PlanContextRecord
Source§impl Debug for PlanContextRecord
impl Debug for PlanContextRecord
Source§impl<'de> Deserialize<'de> for PlanContextRecord
impl<'de> Deserialize<'de> for PlanContextRecord
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 PlanContextRecord
Source§impl PartialEq for PlanContextRecord
impl PartialEq for PlanContextRecord
Source§impl Serialize for PlanContextRecord
impl Serialize for PlanContextRecord
impl StructuralPartialEq for PlanContextRecord
Auto Trait Implementations§
impl Freeze for PlanContextRecord
impl RefUnwindSafe for PlanContextRecord
impl Send for PlanContextRecord
impl Sync for PlanContextRecord
impl Unpin for PlanContextRecord
impl UnsafeUnpin for PlanContextRecord
impl UnwindSafe for PlanContextRecord
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