pub struct EconomicResourceKeyV1 {
pub resource_family: String,
pub scope_id: String,
pub resource_id: String,
}Fields§
§resource_family: String§scope_id: String§resource_id: StringImplementations§
Source§impl EconomicResourceKeyV1
impl EconomicResourceKeyV1
pub fn validate(&self) -> Result<(), EconomicContinuityError>
Trait Implementations§
Source§impl Clone for EconomicResourceKeyV1
impl Clone for EconomicResourceKeyV1
Source§fn clone(&self) -> EconomicResourceKeyV1
fn clone(&self) -> EconomicResourceKeyV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EconomicResourceKeyV1
impl Debug for EconomicResourceKeyV1
Source§impl<'de> Deserialize<'de> for EconomicResourceKeyV1
impl<'de> Deserialize<'de> for EconomicResourceKeyV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EconomicResourceKeyV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EconomicResourceKeyV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EconomicResourceKeyV1
Source§impl Ord for EconomicResourceKeyV1
impl Ord for EconomicResourceKeyV1
Source§fn cmp(&self, other: &EconomicResourceKeyV1) -> Ordering
fn cmp(&self, other: &EconomicResourceKeyV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EconomicResourceKeyV1
impl PartialEq for EconomicResourceKeyV1
Source§impl PartialOrd for EconomicResourceKeyV1
impl PartialOrd for EconomicResourceKeyV1
Source§impl Serialize for EconomicResourceKeyV1
impl Serialize for EconomicResourceKeyV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EconomicResourceKeyV1
Auto Trait Implementations§
impl Freeze for EconomicResourceKeyV1
impl RefUnwindSafe for EconomicResourceKeyV1
impl Send for EconomicResourceKeyV1
impl Sync for EconomicResourceKeyV1
impl Unpin for EconomicResourceKeyV1
impl UnsafeUnpin for EconomicResourceKeyV1
impl UnwindSafe for EconomicResourceKeyV1
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