pub struct ViaPlanHeaderV1 {
pub plan_id: PlanId,
pub caused_by: EventId,
pub policy_id: CapabilityId,
pub policy_version: SemanticVersion,
pub expected_source_ids: Vec<ScopedContentIdV1>,
pub immutable_guard_digest: Sha256Digest,
pub operator_id: CapabilityId,
pub operator_version: SemanticVersion,
pub expires_at: UtcTimestamp,
pub output_budget_tokens: u64,
}Fields§
§plan_id: PlanId§caused_by: EventId§policy_id: CapabilityId§policy_version: SemanticVersion§expected_source_ids: Vec<ScopedContentIdV1>§immutable_guard_digest: Sha256Digest§operator_id: CapabilityId§operator_version: SemanticVersion§expires_at: UtcTimestamp§output_budget_tokens: u64Trait Implementations§
Source§impl Clone for ViaPlanHeaderV1
impl Clone for ViaPlanHeaderV1
Source§impl Debug for ViaPlanHeaderV1
impl Debug for ViaPlanHeaderV1
Source§impl<'de> Deserialize<'de> for ViaPlanHeaderV1
impl<'de> Deserialize<'de> for ViaPlanHeaderV1
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 ViaPlanHeaderV1
Source§impl PartialEq for ViaPlanHeaderV1
impl PartialEq for ViaPlanHeaderV1
Source§impl Serialize for ViaPlanHeaderV1
impl Serialize for ViaPlanHeaderV1
impl StructuralPartialEq for ViaPlanHeaderV1
Auto Trait Implementations§
impl Forget for ViaPlanHeaderV1
impl Freeze for ViaPlanHeaderV1
impl Move for ViaPlanHeaderV1
impl RefUnwindSafe for ViaPlanHeaderV1
impl Send for ViaPlanHeaderV1
impl Sync for ViaPlanHeaderV1
impl Unpin for ViaPlanHeaderV1
impl UnsafeUnpin for ViaPlanHeaderV1
impl UnwindSafe for ViaPlanHeaderV1
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