pub struct Entitlements {
pub account_id: String,
pub cluster_id: String,
pub node_id: String,
pub plan: AccountPlan,
pub valid_until: u64,
}Expand description
Current capabilities of this node in its cluster owner’s account.
Fields§
§account_id: String§cluster_id: String§node_id: String§plan: AccountPlan§valid_until: u64Implementations§
Source§impl Entitlements
impl Entitlements
pub fn signing_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for Entitlements
impl Clone for Entitlements
Source§impl Debug for Entitlements
impl Debug for Entitlements
Source§impl<'de> Deserialize<'de> for Entitlements
impl<'de> Deserialize<'de> for Entitlements
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 Entitlements
Source§impl PartialEq for Entitlements
impl PartialEq for Entitlements
Source§impl Serialize for Entitlements
impl Serialize for Entitlements
impl StructuralPartialEq for Entitlements
Auto Trait Implementations§
impl Forget for Entitlements
impl Freeze for Entitlements
impl Move for Entitlements
impl RefUnwindSafe for Entitlements
impl Send for Entitlementswhere
RawVecInner: Send,
impl Sync for Entitlementswhere
RawVecInner: Sync,
impl Unpin for Entitlements
impl UnsafeUnpin for Entitlements
impl UnwindSafe for Entitlementswhere
RawVecInner: UnwindSafe,
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