pub struct SessionResource {
pub api_url: Option<String>,
pub capabilities: HashMap<String, Value>,
pub other_fields: Value,
}Fields§
§api_url: Option<String>§capabilities: HashMap<String, Value>§other_fields: ValueImplementations§
Source§impl SessionResource
impl SessionResource
pub fn api_url(&self) -> Option<&str>
pub fn supports_calendars(&self) -> bool
pub fn supports_address_books(&self) -> bool
Trait Implementations§
Source§impl Debug for SessionResource
impl Debug for SessionResource
Source§impl<'de> Deserialize<'de> for SessionResource
impl<'de> Deserialize<'de> for SessionResource
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 SessionResource
impl PartialEq for SessionResource
impl StructuralPartialEq for SessionResource
Auto Trait Implementations§
impl Freeze for SessionResource
impl RefUnwindSafe for SessionResource
impl Send for SessionResource
impl Sync for SessionResource
impl Unpin for SessionResource
impl UnwindSafe for SessionResource
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