pub struct CalendarObjectResource {
pub object: CalendarObject,
pub object_id: String,
pub principal: String,
}Fields§
§object: CalendarObject§object_id: String§principal: StringTrait Implementations§
Source§impl Clone for CalendarObjectResource
impl Clone for CalendarObjectResource
Source§fn clone(&self) -> CalendarObjectResource
fn clone(&self) -> CalendarObjectResource
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 From<(CalendarObject, String, String)> for CalendarObjectResource
impl From<(CalendarObject, String, String)> for CalendarObjectResource
Source§impl From<CalendarObjectResource> for (CalendarObject, String, String)
impl From<CalendarObjectResource> for (CalendarObject, String, String)
Source§fn from(value: CalendarObjectResource) -> Self
fn from(value: CalendarObjectResource) -> Self
Converts to this type from the input type.
Source§impl Resource for CalendarObjectResource
impl Resource for CalendarObjectResource
type Prop = CalendarObjectPropWrapper
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: &CalendarObjectPropWrapperName, ) -> Result<Self::Prop, Self::Error>
fn get_displayname(&self) -> Option<&str>
fn get_owner(&self) -> Option<&str>
fn get_etag(&self) -> Option<String>
fn get_user_privileges( &self, user: &Principal, ) -> Result<UserPrivilegeSet, Self::Error>
fn list_props() -> Vec<(Option<Namespace<'static>>, &'static str)>
fn set_prop(&mut self, _prop: Self::Prop) -> Result<(), Error>
fn remove_prop( &mut self, _prop: &<Self::Prop as PropName>::Names, ) -> Result<(), Error>
fn set_displayname(&mut self, _name: Option<String>) -> Result<(), Error>
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>
Auto Trait Implementations§
impl !Freeze for CalendarObjectResource
impl RefUnwindSafe for CalendarObjectResource
impl Send for CalendarObjectResource
impl Sync for CalendarObjectResource
impl Unpin for CalendarObjectResource
impl UnwindSafe for CalendarObjectResource
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