pub struct ApiUsageStatus {
pub uses_graphql: bool,
pub uses_rest: bool,
pub deprecated_endpoints: Vec<String>,
pub uses_storefront: bool,
}Expand description
API usage status
Fields§
§uses_graphql: boolWhether GraphQL API is used
uses_rest: boolWhether REST API is used (deprecated for new apps)
deprecated_endpoints: Vec<String>List of deprecated endpoints/versions found
uses_storefront: boolWhether Storefront API is used
Implementations§
Trait Implementations§
Source§impl Clone for ApiUsageStatus
impl Clone for ApiUsageStatus
Source§fn clone(&self) -> ApiUsageStatus
fn clone(&self) -> ApiUsageStatus
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 ApiUsageStatus
impl Debug for ApiUsageStatus
Source§impl Default for ApiUsageStatus
impl Default for ApiUsageStatus
Source§fn default() -> ApiUsageStatus
fn default() -> ApiUsageStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApiUsageStatus
impl RefUnwindSafe for ApiUsageStatus
impl Send for ApiUsageStatus
impl Sync for ApiUsageStatus
impl Unpin for ApiUsageStatus
impl UnsafeUnpin for ApiUsageStatus
impl UnwindSafe for ApiUsageStatus
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