Name Description Size Coverage
batching.rs 9106 -
extended_properties.rs Hand-written types and wrappers for simpler, more strongly-typed access to [extended properties]. There are two kinds of extended properties: single-value legacy extended properties, and multi-value legacy extended properties, where the word "legacy" is often elided. This crate currently only supports single-value legacy extended properties, or SVLEPs for short. The typical way to use this module is to define a constant representing the property in question via [`crate::define_svlep!`], calling [`SingleValueExtendedPropertiesOp::expand_typed_svlep`] with that constant, and getting the result from the response via [`SingleValueExtendedPropertiesType::typed_svlep`] with the same constant. # Example ```rust # use ms_graph_tb::define_svlep; # use ms_graph_tb::extended_properties::{ # SingleValueExtendedPropertiesOp, SingleValueExtendedPropertiesType, # }; # use ms_graph_tb::notnull; # use ms_graph_tb::paths::me::mail_folders::mail_folder_id::messages; # let endpoint = String::new(); # let folder_id = String::new(); define_svlep!(PID_TAG_MESSAGE_SIZE, Integer, 0x0E08); let mut request = messages::Get::new(endpoint, folder_id); request.expand_typed_svlep([PID_TAG_MESSAGE_SIZE]); // let message = [send request and get response]; # let message = ms_graph_tb::types::message::Message { # single_value_extended_properties: Some(vec![ # ms_graph_tb::types::single_value_legacy_extended_property::SingleValueLegacyExtendedProperty { # entity: ms_graph_tb::types::entity::Entity { # id: Some("Integer 0x0E08".to_string()), # }, # value: notnull!("42".to_string()), # }, # ]), # ..Default::default() # }; let message_size = message.typed_svlep(PID_TAG_MESSAGE_SIZE)?; assert_eq!(message_size, Some(42)); # Ok::<(), ms_graph_tb::Error>(()) ``` [extended properties]: https://learn.microsoft.com/en-us/graph/api/resources/extended-properties-overview 20970 -
lib.rs 6395 -
odata.rs Types for working with [OData query parameters](https://learn.microsoft.com/en-us/graph/query-parameters). 17452 -
pagination.rs 14994 -
paths -
types -