pub struct UpdateTokenDto {
pub tag: Option<TagTrue>,
pub name: Option<String>,
pub restrictions: Option<TokenRestrictions>,
}
Fields§
§tag: Option<TagTrue>
This is the tag for the token. It represents its scope.
name: Option<String>
This is the name of the token. This is just for your own reference.
restrictions: Option<TokenRestrictions>
This are the restrictions for the token.
Implementations§
Source§impl UpdateTokenDto
impl UpdateTokenDto
pub fn new() -> UpdateTokenDto
Trait Implementations§
Source§impl Clone for UpdateTokenDto
impl Clone for UpdateTokenDto
Source§fn clone(&self) -> UpdateTokenDto
fn clone(&self) -> UpdateTokenDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateTokenDto
impl Debug for UpdateTokenDto
Source§impl Default for UpdateTokenDto
impl Default for UpdateTokenDto
Source§fn default() -> UpdateTokenDto
fn default() -> UpdateTokenDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateTokenDto
impl<'de> Deserialize<'de> for UpdateTokenDto
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 UpdateTokenDto
impl PartialEq for UpdateTokenDto
Source§impl Serialize for UpdateTokenDto
impl Serialize for UpdateTokenDto
impl StructuralPartialEq for UpdateTokenDto
Auto Trait Implementations§
impl Freeze for UpdateTokenDto
impl RefUnwindSafe for UpdateTokenDto
impl Send for UpdateTokenDto
impl Sync for UpdateTokenDto
impl Unpin for UpdateTokenDto
impl UnwindSafe for UpdateTokenDto
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