pub struct AllowedByMethods {
pub user: Option<String>,
pub methods: Option<Vec<AllowedMethodsType>>,
}Expand description
List of allowed configurations for Consumer settings, including a username of the Consumer and a list of allowed HTTP methods
user - A username for a Consumer.
methods - A list of allowed HTTP methods for a Consumer.
Fields§
§user: Option<String>§methods: Option<Vec<AllowedMethodsType>>Trait Implementations§
Source§impl Clone for AllowedByMethods
impl Clone for AllowedByMethods
Source§fn clone(&self) -> AllowedByMethods
fn clone(&self) -> AllowedByMethods
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 AllowedByMethods
impl Debug for AllowedByMethods
Source§impl<'de> Deserialize<'de> for AllowedByMethods
impl<'de> Deserialize<'de> for AllowedByMethods
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 AllowedByMethods
impl PartialEq for AllowedByMethods
Source§impl Serialize for AllowedByMethods
impl Serialize for AllowedByMethods
impl StructuralPartialEq for AllowedByMethods
Auto Trait Implementations§
impl Freeze for AllowedByMethods
impl RefUnwindSafe for AllowedByMethods
impl Send for AllowedByMethods
impl Sync for AllowedByMethods
impl Unpin for AllowedByMethods
impl UnwindSafe for AllowedByMethods
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