pub struct AccessPoint {
pub access_point_id: Option<String>,
pub name: Option<String>,
pub timezone: Option<String>,
pub type: Option<AccessPointType>,
pub accessibility_attributes: Option<Box<AccessibilityAttributes>>,
pub address: Option<Box<Address>>,
pub exception_operating_hours: Option<Vec<ExceptionOperatingHours>>,
pub assistance_type: Option<AssistanceType>,
pub score: Option<String>,
pub standard_operating_hours: Option<HashMap<String, OperatingHours>>,
}Expand description
AccessPoint : Access point details
Fields§
§access_point_id: Option<String>Unique identifier for the access point
name: Option<String>Name of entity (store/hub etc) where this access point is located
timezone: Option<String>Timezone of access point
type: Option<AccessPointType>§accessibility_attributes: Option<Box<AccessibilityAttributes>>§address: Option<Box<Address>>§exception_operating_hours: Option<Vec<ExceptionOperatingHours>>Exception operating hours for Access Point
assistance_type: Option<AssistanceType>Assistance type enum for Access point i.e. STAFF_ASSISTED or SELF_ASSISTED
score: Option<String>The score of access point, based on proximity to postal code and sorting preference. This can be used to sort access point results on shipper’s end.
standard_operating_hours: Option<HashMap<String, OperatingHours>>Map of day of the week to operating hours of that day
Implementations§
Source§impl AccessPoint
impl AccessPoint
Sourcepub fn new() -> AccessPoint
pub fn new() -> AccessPoint
Access point details
Trait Implementations§
Source§impl Clone for AccessPoint
impl Clone for AccessPoint
Source§fn clone(&self) -> AccessPoint
fn clone(&self) -> AccessPoint
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 Debug for AccessPoint
impl Debug for AccessPoint
Source§impl Default for AccessPoint
impl Default for AccessPoint
Source§fn default() -> AccessPoint
fn default() -> AccessPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessPoint
impl<'de> Deserialize<'de> for AccessPoint
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 PartialEq for AccessPoint
impl PartialEq for AccessPoint
Source§impl Serialize for AccessPoint
impl Serialize for AccessPoint
impl StructuralPartialEq for AccessPoint
Auto Trait Implementations§
impl Freeze for AccessPoint
impl RefUnwindSafe for AccessPoint
impl Send for AccessPoint
impl Sync for AccessPoint
impl Unpin for AccessPoint
impl UnwindSafe for AccessPoint
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