#[non_exhaustive]pub struct ConfigPlanView {
pub digest: Digest,
pub base_revision: u64,
pub plan: Plan,
}Expand description
The trusted surface renders the entire plan, not just the digest.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.digest: Digest§base_revision: u64§plan: PlanImplementations§
Source§impl ConfigPlanView
impl ConfigPlanView
pub fn new(plan: Plan) -> Result<Self, CanonicalError>
Trait Implementations§
Source§impl Clone for ConfigPlanView
impl Clone for ConfigPlanView
Source§impl Debug for ConfigPlanView
impl Debug for ConfigPlanView
Source§impl<'de> Deserialize<'de> for ConfigPlanView
impl<'de> Deserialize<'de> for ConfigPlanView
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 PartialEq for ConfigPlanView
impl PartialEq for ConfigPlanView
Source§impl Serialize for ConfigPlanView
impl Serialize for ConfigPlanView
impl StructuralPartialEq for ConfigPlanView
Auto Trait Implementations§
impl Forget for ConfigPlanView
impl Freeze for ConfigPlanView
impl Move for ConfigPlanView
impl RefUnwindSafe for ConfigPlanView
impl Send for ConfigPlanView
impl Sync for ConfigPlanView
impl Unpin for ConfigPlanView
impl UnsafeUnpin for ConfigPlanView
impl UnwindSafe for ConfigPlanView
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