pub struct SeatLimitDecisionV1 {Show 16 fields
pub v: u32,
pub decision_id: TeamId,
pub scope: SeatValueScopeV1,
pub action: SeatValueActionV1,
pub entitlement_digest: RecordDigest,
pub membership_digest: RecordDigest,
pub allocation_request: AllocationRequestV1,
pub allocation_request_digest: RecordDigest,
pub allocated_before: u64,
pub requested_delta: u64,
pub effective_limit: u64,
pub outcome: SeatDecisionOutcomeV1,
pub reason_code: ReasonCode,
pub decided_at: TeamTimestampV1,
pub signature_envelope_digest: RecordDigest,
pub idempotency_key: IdempotencyKey,
}Fields§
§v: u32§decision_id: TeamId§scope: SeatValueScopeV1§action: SeatValueActionV1§entitlement_digest: RecordDigest§membership_digest: RecordDigest§allocation_request: AllocationRequestV1§allocation_request_digest: RecordDigest§allocated_before: u64§requested_delta: u64§effective_limit: u64§outcome: SeatDecisionOutcomeV1§reason_code: ReasonCode§decided_at: TeamTimestampV1§signature_envelope_digest: RecordDigest§idempotency_key: IdempotencyKeyImplementations§
Source§impl SeatLimitDecisionV1
impl SeatLimitDecisionV1
pub fn validate(&self) -> Result<(), ValidationError>
Source§impl SeatLimitDecisionV1
impl SeatLimitDecisionV1
pub fn validate_entitlement_binding( &self, entitlement: &SeatEntitlementV1, computed_entitlement_digest: &RecordDigest, ) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for SeatLimitDecisionV1
impl Clone for SeatLimitDecisionV1
Source§impl Debug for SeatLimitDecisionV1
impl Debug for SeatLimitDecisionV1
Source§impl<'de> Deserialize<'de> for SeatLimitDecisionV1
impl<'de> Deserialize<'de> for SeatLimitDecisionV1
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SeatLimitDecisionV1
Source§impl PartialEq for SeatLimitDecisionV1
impl PartialEq for SeatLimitDecisionV1
Source§impl Serialize for SeatLimitDecisionV1
impl Serialize for SeatLimitDecisionV1
impl StructuralPartialEq for SeatLimitDecisionV1
Auto Trait Implementations§
impl Forget for SeatLimitDecisionV1
impl Freeze for SeatLimitDecisionV1
impl Move for SeatLimitDecisionV1
impl RefUnwindSafe for SeatLimitDecisionV1
impl Send for SeatLimitDecisionV1
impl Sync for SeatLimitDecisionV1
impl Unpin for SeatLimitDecisionV1
impl UnsafeUnpin for SeatLimitDecisionV1
impl UnwindSafe for SeatLimitDecisionV1
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