#[non_exhaustive]pub struct CreateApplicationRequest {
pub application: Option<Application>,
/* private fields */
}
Expand description
Request message for Applications.CreateApplication
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.application: Option<Application>
Application configuration.
Implementations§
Source§impl CreateApplicationRequest
impl CreateApplicationRequest
pub fn new() -> Self
Sourcepub fn set_application<T>(self, v: T) -> Selfwhere
T: Into<Application>,
pub fn set_application<T>(self, v: T) -> Selfwhere
T: Into<Application>,
Sets the value of application.
Sourcepub fn set_or_clear_application<T>(self, v: Option<T>) -> Selfwhere
T: Into<Application>,
pub fn set_or_clear_application<T>(self, v: Option<T>) -> Selfwhere
T: Into<Application>,
Sets or clears the value of application.
Trait Implementations§
Source§impl Clone for CreateApplicationRequest
impl Clone for CreateApplicationRequest
Source§fn clone(&self) -> CreateApplicationRequest
fn clone(&self) -> CreateApplicationRequest
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 CreateApplicationRequest
impl Debug for CreateApplicationRequest
Source§impl Default for CreateApplicationRequest
impl Default for CreateApplicationRequest
Source§fn default() -> CreateApplicationRequest
fn default() -> CreateApplicationRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateApplicationRequest
impl Message for CreateApplicationRequest
Source§impl PartialEq for CreateApplicationRequest
impl PartialEq for CreateApplicationRequest
impl StructuralPartialEq for CreateApplicationRequest
Auto Trait Implementations§
impl Freeze for CreateApplicationRequest
impl RefUnwindSafe for CreateApplicationRequest
impl Send for CreateApplicationRequest
impl Sync for CreateApplicationRequest
impl Unpin for CreateApplicationRequest
impl UnwindSafe for CreateApplicationRequest
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