Skip to main content

View

Enum View 

Source
pub enum View {
    IndexedPageItemView {
        max_entries_returned: Option<usize>,
        base_point: BasePoint,
        offset: usize,
    },
    FractionalPageItemView {
        max_entries_returned: Option<usize>,
        numerator: usize,
        denominator: usize,
    },
    CalendarView {
        max_entries_returned: Option<usize>,
        start_date: String,
        end_date: String,
    },
    ContactsView {
        max_entries_returned: Option<usize>,
        initial_name: Option<String>,
        final_name: Option<String>,
    },
}
Expand description

Variants§

§

IndexedPageItemView

Describes how paged conversation or item information is returned for a FindItem operation or FindConversation operation request.

Fields

§max_entries_returned: Option<usize>
§base_point: BasePoint
§offset: usize
§

FractionalPageItemView

Describes where the paged view starts and the maximum number of items returned in a FindItem request.

Fields

§max_entries_returned: Option<usize>

Identifies the maximum number of results to return in the FindItem response. If this attribute is not specified, the call will return all available items.

§numerator: usize

Represents the numerator of the fractional offset from the start of the result set. The numerator must be equal to or less than the denominator. This attribute must represent an integral value that is equal to or greater than zero.

§denominator: usize

Represents the denominator of the fractional offset from the start of the total number of items in the result set. This attribute must represent an integral value that is greater than one.

§

CalendarView

Fields

§max_entries_returned: Option<usize>

Describes the maximum number of results to return in the response.

§start_date: String
§end_date: String
§

ContactsView

Fields

§max_entries_returned: Option<usize>

Describes the maximum number of results to return in the response.

§initial_name: Option<String>
§final_name: Option<String>

Trait Implementations§

Source§

impl Clone for View

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for View

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl XmlSerialize for View

Source§

fn serialize_child_nodes<W: Write>( &self, writer: &mut Writer<W>, ) -> Result<(), Error>

Serializes this value as XML content nodes.
Source§

fn serialize_as_element<W>( &self, writer: &mut Writer<W>, name: &str, ) -> Result<(), Error>
where W: Write,

Serializes this value as XML content nodes within an enclosing XML element.

Auto Trait Implementations§

§

impl Freeze for View

§

impl RefUnwindSafe for View

§

impl Send for View

§

impl Sync for View

§

impl Unpin for View

§

impl UnsafeUnpin for View

§

impl UnwindSafe for View

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.