pub struct EncodeContext {
pub source: Option<String>,
pub session_id: Option<String>,
pub spatial: Option<Value>,
pub temporal: Option<Value>,
}Expand description
Context for encoding operations.
Fields§
§source: Option<String>§session_id: Option<String>§spatial: Option<Value>§temporal: Option<Value>Trait Implementations§
Source§impl Clone for EncodeContext
impl Clone for EncodeContext
Source§fn clone(&self) -> EncodeContext
fn clone(&self) -> EncodeContext
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 EncodeContext
impl Debug for EncodeContext
Source§impl Default for EncodeContext
impl Default for EncodeContext
Source§fn default() -> EncodeContext
fn default() -> EncodeContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncodeContextwhere
EncodeContext: Default,
impl<'de> Deserialize<'de> for EncodeContextwhere
EncodeContext: Default,
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
Auto Trait Implementations§
impl Freeze for EncodeContext
impl RefUnwindSafe for EncodeContext
impl Send for EncodeContext
impl Sync for EncodeContext
impl Unpin for EncodeContext
impl UnsafeUnpin for EncodeContext
impl UnwindSafe for EncodeContext
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