pub struct Item {
pub key: String,
pub value: Option<Box<Value>>,
}Expand description
An item in the store. The key must match the regex ^[A-z][A-z0-9_\.\/]{2,62}[A-z0-9]$. That
is, it must start with a letter, end with a letter or number, contain only letters, numbers,
periods, and slashes, and be between 4 and 64 characters long.
Fields§
§key: String§value: Option<Box<Value>>Trait Implementations§
Source§impl CompatFrom<Item> for Item
impl CompatFrom<Item> for Item
Source§fn compat_from(value: Item) -> Item
fn compat_from(value: Item) -> Item
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Item<'static>, ___E> for &'a Itemwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<Item<'static>, ___E> for &'a Itemwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<___E> Encode<Item<'static>, ___E> for Itemwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<Item<'static>, ___E> for Itemwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<'de> FromWireRef<Item<'de>> for Item
impl<'de> FromWireRef<Item<'de>> for Item
Source§fn from_wire_ref(wire: &Item<'de>) -> Item
fn from_wire_ref(wire: &Item<'de>) -> Item
Converts the given reference to this type.
Source§impl Ord for Item
impl Ord for Item
Source§impl PartialOrd for Item
impl PartialOrd for Item
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]