Struct live_tests::TestData
source · pub(crate) struct TestData {
pub(crate) caldav: CalDavClient<HttpsConnector<HttpConnector>>,
pub(crate) carddav: CardDavClient<HttpsConnector<HttpConnector>>,
pub(crate) calendar_home_set: Vec<Uri>,
pub(crate) address_home_set: Vec<Uri>,
pub(crate) profile: Profile,
}
Fields§
§caldav: CalDavClient<HttpsConnector<HttpConnector>>
§carddav: CardDavClient<HttpsConnector<HttpConnector>>
§calendar_home_set: Vec<Uri>
§address_home_set: Vec<Uri>
§profile: Profile
Implementations§
source§impl TestData
impl TestData
pub(crate) async fn from_profile(profile: Profile) -> Result<Self>
pub(crate) async fn calendar_count(&self) -> Result<usize>
pub(crate) async fn addressbook_count(&self) -> Result<usize>
pub(crate) fn first_calendar_home_set(&self) -> Result<&Uri>
pub(crate) fn first_address_book_home_set(&self) -> Result<&Uri>
Auto Trait Implementations§
impl !Freeze for TestData
impl !RefUnwindSafe for TestData
impl Send for TestData
impl Sync for TestData
impl Unpin for TestData
impl !UnwindSafe for TestData
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.