pub struct ApplicationIn {
pub metadata: Option<HashMap<String, String>>,
pub name: String,
pub rate_limit: Option<i32>,
pub uid: Option<String>,
}
Fields§
§metadata: Option<HashMap<String, String>>
§name: String
§rate_limit: Option<i32>
§uid: Option<String>
Optional unique identifier for the application
Implementations§
Source§impl ApplicationIn
impl ApplicationIn
pub fn new(name: String) -> ApplicationIn
Trait Implementations§
Source§impl Clone for ApplicationIn
impl Clone for ApplicationIn
Source§fn clone(&self) -> ApplicationIn
fn clone(&self) -> ApplicationIn
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 ApplicationIn
impl Debug for ApplicationIn
Source§impl Default for ApplicationIn
impl Default for ApplicationIn
Source§fn default() -> ApplicationIn
fn default() -> ApplicationIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationIn
impl<'de> Deserialize<'de> for ApplicationIn
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 PartialEq for ApplicationIn
impl PartialEq for ApplicationIn
Source§impl Serialize for ApplicationIn
impl Serialize for ApplicationIn
impl StructuralPartialEq for ApplicationIn
Auto Trait Implementations§
impl Freeze for ApplicationIn
impl RefUnwindSafe for ApplicationIn
impl Send for ApplicationIn
impl Sync for ApplicationIn
impl Unpin for ApplicationIn
impl UnwindSafe for ApplicationIn
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