pub struct RestrictionChange {
pub feature: Option<String>,
pub new_restriction: Option<String>,
}Expand description
Information about restriction policy changes to a feature.
This type is not used in any activity, and only used as part of another schema.
Fields§
§feature: Option<String>The feature which had a change in restriction policy.
new_restriction: Option<String>The restriction in place after the change.
Trait Implementations§
Source§impl Clone for RestrictionChange
impl Clone for RestrictionChange
Source§fn clone(&self) -> RestrictionChange
fn clone(&self) -> RestrictionChange
Returns a duplicate of the value. Read more
1.0.0 · 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 RestrictionChange
impl Debug for RestrictionChange
Source§impl Default for RestrictionChange
impl Default for RestrictionChange
Source§fn default() -> RestrictionChange
fn default() -> RestrictionChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestrictionChange
impl<'de> Deserialize<'de> for RestrictionChange
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 Serialize for RestrictionChange
impl Serialize for RestrictionChange
impl Part for RestrictionChange
Auto Trait Implementations§
impl Freeze for RestrictionChange
impl RefUnwindSafe for RestrictionChange
impl Send for RestrictionChange
impl Sync for RestrictionChange
impl Unpin for RestrictionChange
impl UnwindSafe for RestrictionChange
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