pub struct UpdateStoreElementRequest<T> {
pub id: StoreID,
pub selector: StoreSelector,
pub kind: String,
pub needs_authentication: Option<bool>,
pub authentication_methods: Option<Vec<Bytes>>,
pub meta: Option<BTreeMap<Bytes, Value>>,
pub body: T,
}
Fields§
§id: StoreID
§selector: StoreSelector
§kind: String
§needs_authentication: Option<bool>
§authentication_methods: Option<Vec<Bytes>>
§meta: Option<BTreeMap<Bytes, Value>>
§body: T
Trait Implementations§
Source§impl<T: Clone> Clone for UpdateStoreElementRequest<T>
impl<T: Clone> Clone for UpdateStoreElementRequest<T>
Source§fn clone(&self) -> UpdateStoreElementRequest<T>
fn clone(&self) -> UpdateStoreElementRequest<T>
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<'de, T> Deserialize<'de> for UpdateStoreElementRequest<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for UpdateStoreElementRequest<T>where
T: Deserialize<'de>,
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<T: Ord> Ord for UpdateStoreElementRequest<T>
impl<T: Ord> Ord for UpdateStoreElementRequest<T>
Source§fn cmp(&self, other: &UpdateStoreElementRequest<T>) -> Ordering
fn cmp(&self, other: &UpdateStoreElementRequest<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for UpdateStoreElementRequest<T>
impl<T: PartialEq> PartialEq for UpdateStoreElementRequest<T>
Source§fn eq(&self, other: &UpdateStoreElementRequest<T>) -> bool
fn eq(&self, other: &UpdateStoreElementRequest<T>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<T: PartialOrd> PartialOrd for UpdateStoreElementRequest<T>
impl<T: PartialOrd> PartialOrd for UpdateStoreElementRequest<T>
Source§impl<T> Serialize for UpdateStoreElementRequest<T>where
T: Serialize,
impl<T> Serialize for UpdateStoreElementRequest<T>where
T: Serialize,
impl<T: Eq> Eq for UpdateStoreElementRequest<T>
impl<T> StructuralPartialEq for UpdateStoreElementRequest<T>
Auto Trait Implementations§
impl<T> !Freeze for UpdateStoreElementRequest<T>
impl<T> RefUnwindSafe for UpdateStoreElementRequest<T>where
T: RefUnwindSafe,
impl<T> Send for UpdateStoreElementRequest<T>where
T: Send,
impl<T> Sync for UpdateStoreElementRequest<T>where
T: Sync,
impl<T> Unpin for UpdateStoreElementRequest<T>where
T: Unpin,
impl<T> UnwindSafe for UpdateStoreElementRequest<T>where
T: UnwindSafe,
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