pub struct ContextResponse {
pub context_id: ContextId,
pub owner: IdentityId,
pub created: String,
pub alias: Option<String>,
}Fields§
§context_id: ContextId§owner: IdentityId§created: String§alias: Option<String>Implementations§
Source§impl ContextResponse
impl ContextResponse
pub fn new( context_id: ContextId, owner: IdentityId, created: String, ) -> ContextResponse
Trait Implementations§
Source§impl Clone for ContextResponse
impl Clone for ContextResponse
Source§fn clone(&self) -> ContextResponse
fn clone(&self) -> ContextResponse
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 ContextResponse
impl Debug for ContextResponse
Source§impl Default for ContextResponse
impl Default for ContextResponse
Source§fn default() -> ContextResponse
fn default() -> ContextResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextResponse
impl<'de> Deserialize<'de> for ContextResponse
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 ContextResponse
impl PartialEq for ContextResponse
Source§impl Serialize for ContextResponse
impl Serialize for ContextResponse
impl StructuralPartialEq for ContextResponse
Auto Trait Implementations§
impl Freeze for ContextResponse
impl RefUnwindSafe for ContextResponse
impl Send for ContextResponse
impl Sync for ContextResponse
impl Unpin for ContextResponse
impl UnwindSafe for ContextResponse
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