pub struct UpdateApplication {
pub name: String,
pub redirect_uris: Vec<String>,
pub is_trusted: bool,
pub is_active: bool,
pub logo_url: Option<String>,
pub primary_color: Option<String>,
}Expand description
Parameters for updating an application’s mutable fields.
All fields are required. Fetch the current application first to populate fields that should remain unchanged.
Fields§
§name: String§redirect_uris: Vec<String>§is_trusted: bool§is_active: bool§logo_url: Option<String>§primary_color: Option<String>Auto Trait Implementations§
impl Freeze for UpdateApplication
impl RefUnwindSafe for UpdateApplication
impl Send for UpdateApplication
impl Sync for UpdateApplication
impl Unpin for UpdateApplication
impl UnsafeUnpin for UpdateApplication
impl UnwindSafe for UpdateApplication
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more