pub struct CalendarResource {
pub cal: Calendar,
pub read_only: bool,
}Fields§
§cal: Calendar§read_only: boolTrait Implementations§
Source§impl Clone for CalendarResource
impl Clone for CalendarResource
Source§fn clone(&self) -> CalendarResource
fn clone(&self) -> CalendarResource
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 DavPushExtension for CalendarResource
impl DavPushExtension for CalendarResource
fn get_topic(&self) -> String
fn supported_triggers(&self) -> SupportedTriggers
fn get_prop( &self, prop: &DavPushExtensionPropName, ) -> Result<DavPushExtensionProp, Error>
fn set_prop(&self, _prop: DavPushExtensionProp) -> Result<(), Error>
fn remove_prop(&self, _prop: &DavPushExtensionPropName) -> Result<(), Error>
Source§impl Debug for CalendarResource
impl Debug for CalendarResource
Source§impl<'de> Deserialize<'de> for CalendarResource
impl<'de> Deserialize<'de> for CalendarResource
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 From<CalendarResource> for (Calendar, bool)
impl From<CalendarResource> for (Calendar, bool)
Source§fn from(value: CalendarResource) -> Self
fn from(value: CalendarResource) -> Self
Converts to this type from the input type.
Source§impl From<CalendarResource> for Calendar
impl From<CalendarResource> for Calendar
Source§fn from(value: CalendarResource) -> Self
fn from(value: CalendarResource) -> Self
Converts to this type from the input type.
Source§impl Resource for CalendarResource
impl Resource for CalendarResource
type Prop = CalendarPropWrapper
type Error = Error
type Principal = Principal
fn is_collection(&self) -> bool
fn get_resourcetype(&self) -> Resourcetype
fn get_prop( &self, puri: &impl PrincipalUri, user: &Principal, prop: &CalendarPropWrapperName, ) -> Result<Self::Prop, Self::Error>
fn set_prop(&mut self, prop: Self::Prop) -> Result<(), Error>
fn remove_prop(&mut self, prop: &CalendarPropWrapperName) -> Result<(), Error>
fn get_displayname(&self) -> Option<&str>
fn set_displayname(&mut self, name: Option<String>) -> Result<(), Error>
fn get_owner(&self) -> Option<&str>
fn get_user_privileges( &self, user: &Principal, ) -> Result<UserPrivilegeSet, Self::Error>
fn list_props() -> Vec<(Option<Namespace<'static>>, &'static str)>
fn get_etag(&self) -> Option<String>
fn satisfies_if_match(&self, if_match: &IfMatch) -> bool
fn satisfies_if_none_match(&self, if_none_match: &IfNoneMatch) -> bool
fn parse_propfind( body: &str, ) -> Result<PropfindElement<<Self::Prop as PropName>::Names>, XmlError>
fn propfind( &self, path: &str, prop: &PropfindType<<Self::Prop as PropName>::Names>, include: Option<&PropElement<<Self::Prop as PropName>::Names>>, principal_uri: &impl PrincipalUri, principal: &Self::Principal, ) -> Result<ResponseElement<Self::Prop>, Self::Error>
Source§impl ResourceName for CalendarResource
impl ResourceName for CalendarResource
Source§impl SyncTokenExtension for CalendarResource
impl SyncTokenExtension for CalendarResource
fn get_synctoken(&self) -> String
fn get_prop( &self, prop: &SyncTokenExtensionPropName, ) -> Result<SyncTokenExtensionProp, Error>
fn set_prop(&self, _prop: SyncTokenExtensionProp) -> Result<(), Error>
fn remove_prop(&self, _prop: &SyncTokenExtensionPropName) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for CalendarResource
impl RefUnwindSafe for CalendarResource
impl Send for CalendarResource
impl Sync for CalendarResource
impl Unpin for CalendarResource
impl UnwindSafe for CalendarResource
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<R> CommonPropertiesExtension for Rwhere
R: Resource,
impl<R> CommonPropertiesExtension for Rwhere
R: Resource,
fn get_prop( &self, principal_uri: &impl PrincipalUri, principal: &Self::Principal, prop: &CommonPropertiesPropName, ) -> Result<CommonPropertiesProp, Self::Error>
fn set_prop(&mut self, prop: CommonPropertiesProp) -> Result<(), Error>
fn remove_prop(&mut self, prop: &CommonPropertiesPropName) -> Result<(), Error>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more