pub struct StoreElement {
pub path: Bytes,
pub id: Option<StoreSelectorID>,
pub kind: String,
pub needs_authentication: Option<bool>,
pub authentication_methods: Option<Vec<Bytes>>,
pub meta: Option<BTreeMap<Bytes, Value>>,
}Fields§
§path: Bytes§id: Option<StoreSelectorID>§kind: String§needs_authentication: Option<bool>§authentication_methods: Option<Vec<Bytes>>§meta: Option<BTreeMap<Bytes, Value>>Trait Implementations§
Source§impl Clone for StoreElement
impl Clone for StoreElement
Source§fn clone(&self) -> StoreElement
fn clone(&self) -> StoreElement
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 StoreElement
impl Debug for StoreElement
Source§impl<'de> Deserialize<'de> for StoreElement
impl<'de> Deserialize<'de> for StoreElement
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 Ord for StoreElement
impl Ord for StoreElement
Source§fn cmp(&self, other: &StoreElement) -> Ordering
fn cmp(&self, other: &StoreElement) -> 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 PartialEq for StoreElement
impl PartialEq for StoreElement
Source§impl PartialOrd for StoreElement
impl PartialOrd for StoreElement
Source§impl Serialize for StoreElement
impl Serialize for StoreElement
impl Eq for StoreElement
impl StructuralPartialEq for StoreElement
Auto Trait Implementations§
impl !Freeze for StoreElement
impl RefUnwindSafe for StoreElement
impl Send for StoreElement
impl Sync for StoreElement
impl Unpin for StoreElement
impl UnwindSafe for StoreElement
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