Struct remote_settings::client::RemoteSettingsRecord
source · pub struct RemoteSettingsRecord {
pub id: String,
pub last_modified: u64,
pub deleted: bool,
pub attachment: Option<Attachment>,
pub fields: RsJsonObject,
}
Expand description
A parsed Remote Settings record. Records can contain arbitrary fields, so clients are required to further extract expected values from the [fields] member.
Fields§
§id: String
§last_modified: u64
§deleted: bool
§attachment: Option<Attachment>
§fields: RsJsonObject
Trait Implementations§
source§impl Clone for RemoteSettingsRecord
impl Clone for RemoteSettingsRecord
source§fn clone(&self) -> RemoteSettingsRecord
fn clone(&self) -> RemoteSettingsRecord
Returns a copy 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 RemoteSettingsRecord
impl Debug for RemoteSettingsRecord
source§impl<'de> Deserialize<'de> for RemoteSettingsRecord
impl<'de> Deserialize<'de> for RemoteSettingsRecord
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 RemoteSettingsRecord
impl PartialEq for RemoteSettingsRecord
source§fn eq(&self, other: &RemoteSettingsRecord) -> bool
fn eq(&self, other: &RemoteSettingsRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RemoteSettingsRecord
impl Serialize for RemoteSettingsRecord
impl Eq for RemoteSettingsRecord
impl StructuralPartialEq for RemoteSettingsRecord
Auto Trait Implementations§
impl Freeze for RemoteSettingsRecord
impl RefUnwindSafe for RemoteSettingsRecord
impl Send for RemoteSettingsRecord
impl Sync for RemoteSettingsRecord
impl Unpin for RemoteSettingsRecord
impl UnwindSafe for RemoteSettingsRecord
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more