pub struct DefaultApplication {
pub package_name: Option<String>,
}Expand description
Information about the application to be set as the default.
This type is not used in any activity, and only used as part of another schema.
Fields§
§package_name: Option<String>Required. The package name that should be set as the default application. The policy is rejected if the package name is invalid.
Trait Implementations§
Source§impl Clone for DefaultApplication
impl Clone for DefaultApplication
Source§fn clone(&self) -> DefaultApplication
fn clone(&self) -> DefaultApplication
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 DefaultApplication
impl Debug for DefaultApplication
Source§impl Default for DefaultApplication
impl Default for DefaultApplication
Source§fn default() -> DefaultApplication
fn default() -> DefaultApplication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultApplication
impl<'de> Deserialize<'de> for DefaultApplication
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 DefaultApplication
impl Serialize for DefaultApplication
impl Part for DefaultApplication
Auto Trait Implementations§
impl Freeze for DefaultApplication
impl RefUnwindSafe for DefaultApplication
impl Send for DefaultApplication
impl Sync for DefaultApplication
impl Unpin for DefaultApplication
impl UnwindSafe for DefaultApplication
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