Struct PoliciesApiClient

Source
pub struct PoliciesApiClient { /* private fields */ }

Implementations§

Source§

impl PoliciesApiClient

Source

pub fn get_policy_root(&self) -> RequestHandler

Get policies

Source

pub fn update_policy_root<B: BodyExt>(&self, body: B) -> RequestHandler

Update policies

Source

pub fn create_activity_based_timeout_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create activityBasedTimeoutPolicy

Source

pub fn list_activity_based_timeout_policies(&self) -> RequestHandler

List activityBasedTimeoutPolicies

Source

pub fn get_activity_based_timeout_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_activity_based_timeout_policies( &self, activity_based_timeout_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property activityBasedTimeoutPolicies for policies

Source

pub fn get_activity_based_timeout_policies( &self, activity_based_timeout_policy_id: impl AsRef<str>, ) -> RequestHandler

Get activityBasedTimeoutPolicies from policies

Source

pub fn update_activity_based_timeout_policies<B: BodyExt>( &self, activity_based_timeout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property activityBasedTimeoutPolicies in policies

Delete navigation property adminConsentRequestPolicy for policies

Get adminConsentRequestPolicy

Update adminConsentRequestPolicy

Source

pub fn create_app_management_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to appManagementPolicies for policies

Source

pub fn list_app_management_policies(&self) -> RequestHandler

Get appManagementPolicies from policies

Source

pub fn get_app_management_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_app_management_policies( &self, app_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property appManagementPolicies for policies

Source

pub fn get_app_management_policies( &self, app_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get appManagementPolicies from policies

Source

pub fn update_app_management_policies<B: BodyExt>( &self, app_management_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property appManagementPolicies in policies

Source

pub fn list_applies_to( &self, app_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get appliesTo from policies

Source

pub fn get_applies_to_count( &self, app_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn get_applies_to( &self, app_management_policy_id: impl AsRef<str>, directory_object_id: impl AsRef<str>, ) -> RequestHandler

Get appliesTo from policies

Source

pub fn delete_authentication_flows_policy(&self) -> RequestHandler

Delete navigation property authenticationFlowsPolicy for policies

Source

pub fn get_authentication_flows_policy(&self) -> RequestHandler

Get authenticationFlowsPolicy

Source

pub fn update_authentication_flows_policy<B: BodyExt>( &self, body: B, ) -> RequestHandler

Update authenticationFlowsPolicy

Source

pub fn delete_authentication_methods_policy(&self) -> RequestHandler

Delete navigation property authenticationMethodsPolicy for policies

Source

pub fn get_authentication_methods_policy(&self) -> RequestHandler

Get authenticationMethodsPolicy

Source

pub fn update_authentication_methods_policy<B: BodyExt>( &self, body: B, ) -> RequestHandler

Update authenticationMethodsPolicy

Source

pub fn create_authentication_method_configurations<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to authenticationMethodConfigurations for policies

Source

pub fn list_authentication_method_configurations(&self) -> RequestHandler

Get authenticationMethodConfigurations from policies

Source

pub fn get_authentication_method_configurations_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_authentication_method_configurations( &self, authentication_method_configuration_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property authenticationMethodConfigurations for policies

Source

pub fn get_authentication_method_configurations( &self, authentication_method_configuration_id: impl AsRef<str>, ) -> RequestHandler

Get authenticationMethodConfigurations from policies

Source

pub fn update_authentication_method_configurations<B: BodyExt>( &self, authentication_method_configuration_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property authenticationMethodConfigurations in policies

Source

pub fn delete_authorization_policy(&self) -> RequestHandler

Delete navigation property authorizationPolicy for policies

Source

pub fn get_authorization_policy(&self) -> RequestHandler

Get authorizationPolicy from policies

Source

pub fn update_authorization_policy<B: BodyExt>(&self, body: B) -> RequestHandler

Update authorizationPolicy

Source

pub fn create_claims_mapping_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create claimsMappingPolicy

Source

pub fn list_claims_mapping_policies(&self) -> RequestHandler

List claimsMappingPolicies

Source

pub fn get_claims_mapping_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_claims_mapping_policies( &self, claims_mapping_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property claimsMappingPolicies for policies

Source

pub fn get_claims_mapping_policies( &self, claims_mapping_policy_id: impl AsRef<str>, ) -> RequestHandler

Get claimsMappingPolicies from policies

Source

pub fn update_claims_mapping_policies<B: BodyExt>( &self, claims_mapping_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property claimsMappingPolicies in policies

Source

pub fn create_conditional_access_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to conditionalAccessPolicies for policies

Source

pub fn list_conditional_access_policies(&self) -> RequestHandler

Get conditionalAccessPolicies from policies

Source

pub fn get_conditional_access_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_conditional_access_policies( &self, conditional_access_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property conditionalAccessPolicies for policies

Source

pub fn get_conditional_access_policies( &self, conditional_access_policy_id: impl AsRef<str>, ) -> RequestHandler

Get conditionalAccessPolicies from policies

Source

pub fn update_conditional_access_policies<B: BodyExt>( &self, conditional_access_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property conditionalAccessPolicies in policies

Source

pub fn delete_cross_tenant_access_policy(&self) -> RequestHandler

Delete navigation property crossTenantAccessPolicy for policies

Source

pub fn get_cross_tenant_access_policy(&self) -> RequestHandler

Get crossTenantAccessPolicy

Source

pub fn update_cross_tenant_access_policy<B: BodyExt>( &self, body: B, ) -> RequestHandler

Update crossTenantAccessPolicy

Source

pub fn delete_default(&self) -> RequestHandler

Delete navigation property default for policies

Source

pub fn get_default(&self) -> RequestHandler

Get crossTenantAccessPolicyConfigurationDefault

Source

pub fn update_default<B: BodyExt>(&self, body: B) -> RequestHandler

Update crossTenantAccessPolicyConfigurationDefault

Source

pub fn reset_to_system_default(&self) -> RequestHandler

Invoke action resetToSystemDefault

Source

pub fn create_partners<B: BodyExt>(&self, body: B) -> RequestHandler

Create crossTenantAccessPolicyConfigurationPartner

Source

pub fn list_partners(&self) -> RequestHandler

List partners

Source

pub fn get_partners_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_partners( &self, cross_tenant_access_policy_configuration_partner_tenant_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property partners for policies

Source

pub fn get_partners( &self, cross_tenant_access_policy_configuration_partner_tenant_id: impl AsRef<str>, ) -> RequestHandler

Get partners from policies

Source

pub fn update_partners<B: BodyExt>( &self, cross_tenant_access_policy_configuration_partner_tenant_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property partners in policies

Source

pub fn delete_default_app_management_policy(&self) -> RequestHandler

Delete navigation property defaultAppManagementPolicy for policies

Source

pub fn get_default_app_management_policy(&self) -> RequestHandler

Get defaultAppManagementPolicy from policies

Source

pub fn update_default_app_management_policy<B: BodyExt>( &self, body: B, ) -> RequestHandler

Update the navigation property defaultAppManagementPolicy in policies

Source

pub fn create_feature_rollout_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create featureRolloutPolicy

Source

pub fn list_feature_rollout_policies(&self) -> RequestHandler

List featureRolloutPolicies

Source

pub fn get_feature_rollout_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_feature_rollout_policies( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property featureRolloutPolicies for policies

Source

pub fn get_feature_rollout_policies( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Get featureRolloutPolicies from policies

Source

pub fn update_feature_rollout_policies<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property featureRolloutPolicies in policies

Source

pub fn create_applies_to<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property to appliesTo for policies

Source

pub fn list_feature_roll_out_applies_to( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Get appliesTo from policies

Source

pub fn get_feature_rollout_applies_to_count( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn create_ref_applies_to<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property ref to appliesTo for policies

Source

pub fn list_ref_applies_to( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Get ref of appliesTo from policies

Source

pub fn delta( &self, feature_rollout_policy_id: impl AsRef<str>, ) -> RequestHandler

Invoke function delta

Source

pub fn get_available_extension_properties<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Invoke action getAvailableExtensionProperties

Source

pub fn get_by_ids<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Invoke action getByIds

Source

pub fn validate_properties<B: BodyExt>( &self, feature_rollout_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Invoke action validateProperties

Source

pub fn delete_ref_applies_to( &self, feature_rollout_policy_id: impl AsRef<str>, directory_object_id: impl AsRef<str>, ) -> RequestHandler

Delete ref of navigation property appliesTo for policies

Source

pub fn create_home_realm_discovery_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create homeRealmDiscoveryPolicy

Source

pub fn list_home_realm_discovery_policies(&self) -> RequestHandler

List homeRealmDiscoveryPolicies

Source

pub fn get_home_realm_discovery_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_home_realm_discovery_policies( &self, home_realm_discovery_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property homeRealmDiscoveryPolicies for policies

Source

pub fn get_home_realm_discovery_policies( &self, home_realm_discovery_policy_id: impl AsRef<str>, ) -> RequestHandler

Get homeRealmDiscoveryPolicies from policies

Source

pub fn update_home_realm_discovery_policies<B: BodyExt>( &self, home_realm_discovery_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property homeRealmDiscoveryPolicies in policies

Source

pub fn delete_identity_security_defaults_enforcement_policy( &self, ) -> RequestHandler

Delete navigation property identitySecurityDefaultsEnforcementPolicy for policies

Source

pub fn get_identity_security_defaults_enforcement_policy( &self, ) -> RequestHandler

Get identitySecurityDefaultsEnforcementPolicy

Source

pub fn update_identity_security_defaults_enforcement_policy<B: BodyExt>( &self, body: B, ) -> RequestHandler

Update identitySecurityDefaultsEnforcementPolicy

Source

pub fn create_permission_grant_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create permissionGrantPolicy

Source

pub fn list_permission_grant_policies(&self) -> RequestHandler

List permissionGrantPolicies

Source

pub fn get_permission_grant_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_permission_grant_policies( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property permissionGrantPolicies for policies

Source

pub fn get_permission_grant_policies( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

Get permissionGrantPolicies from policies

Source

pub fn update_permission_grant_policies<B: BodyExt>( &self, permission_grant_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property permissionGrantPolicies in policies

Source

pub fn create_excludes<B: BodyExt>( &self, permission_grant_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create permissionGrantConditionSet in excludes collection of permissionGrantPolicy

Source

pub fn list_excludes( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

List excludes collection of permissionGrantPolicy

Source

pub fn get_excludes_count( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_excludes( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property excludes for policies

Source

pub fn get_excludes( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, ) -> RequestHandler

Get excludes from policies

Source

pub fn update_excludes<B: BodyExt>( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property excludes in policies

Source

pub fn create_includes<B: BodyExt>( &self, permission_grant_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create permissionGrantConditionSet in includes collection of permissionGrantPolicy

Source

pub fn list_includes( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

List includes collection of permissionGrantPolicy

Source

pub fn get_includes_count( &self, permission_grant_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_includes( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property includes for policies

Source

pub fn get_includes( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, ) -> RequestHandler

Get includes from policies

Source

pub fn update_includes<B: BodyExt>( &self, permission_grant_policy_id: impl AsRef<str>, permission_grant_condition_set_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property includes in policies

Source

pub fn create_role_management_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to roleManagementPolicies for policies

Source

pub fn list_role_management_policies(&self) -> RequestHandler

List roleManagementPolicies

Source

pub fn role_management_policies_cdca(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_role_management_policies( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property roleManagementPolicies for policies

Source

pub fn get_role_management_policies( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get roleManagementPolicies from policies

Source

pub fn update_role_management_policies<B: BodyExt>( &self, unified_role_management_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property roleManagementPolicies in policies

Source

pub fn create_effective_rules<B: BodyExt>( &self, unified_role_management_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property to effectiveRules for policies

Source

pub fn list_effective_rules( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get effectiveRules from policies

Source

pub fn get_effective_rules_count( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_effective_rules( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property effectiveRules for policies

Source

pub fn get_effective_rules( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, ) -> RequestHandler

Get effectiveRules from policies

Source

pub fn update_effective_rules<B: BodyExt>( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property effectiveRules in policies

Source

pub fn create_rules<B: BodyExt>( &self, unified_role_management_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Create new navigation property to rules for policies

Source

pub fn list_rules( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

List rules (for a role management policy)

Source

pub fn get_rules_count( &self, unified_role_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get the number of the resource

Source

pub fn delete_rules( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property rules for policies

Source

pub fn get_rules( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, ) -> RequestHandler

Get rules from policies

Source

pub fn update_rules<B: BodyExt>( &self, unified_role_management_policy_id: impl AsRef<str>, unified_role_management_policy_rule_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property rules in policies

Source

pub fn create_role_management_policy_assignments<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to roleManagementPolicyAssignments for policies

Source

pub fn list_role_management_policy_assignments(&self) -> RequestHandler

List roleManagementPolicyAssignments

Source

pub fn get_role_management_policy_assignments_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_role_management_policy_assignments( &self, unified_role_management_policy_assignment_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property roleManagementPolicyAssignments for policies

Source

pub fn get_role_management_policy_assignments( &self, unified_role_management_policy_assignment_id: impl AsRef<str>, ) -> RequestHandler

Get roleManagementPolicyAssignments from policies

Source

pub fn update_role_management_policy_assignments<B: BodyExt>( &self, unified_role_management_policy_assignment_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property roleManagementPolicyAssignments in policies

Source

pub fn get_policy( &self, unified_role_management_policy_assignment_id: impl AsRef<str>, ) -> RequestHandler

Get policy from policies

Source

pub fn create_token_issuance_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create tokenIssuancePolicy

Source

pub fn list_token_issuance_policies(&self) -> RequestHandler

List tokenIssuancePolicy

Source

pub fn get_token_issuance_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_token_issuance_policies( &self, token_issuance_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property tokenIssuancePolicies for policies

Source

pub fn get_token_issuance_policies( &self, token_issuance_policy_id: impl AsRef<str>, ) -> RequestHandler

Get tokenIssuancePolicies from policies

Source

pub fn update_token_issuance_policies<B: BodyExt>( &self, token_issuance_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property tokenIssuancePolicies in policies

Source

pub fn create_token_lifetime_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create tokenLifetimePolicy

Source

pub fn list_token_lifetime_policies(&self) -> RequestHandler

List tokenLifetimePolicies

Source

pub fn get_token_lifetime_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_token_lifetime_policies( &self, token_lifetime_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property tokenLifetimePolicies for policies

Source

pub fn get_token_lifetime_policies( &self, token_lifetime_policy_id: impl AsRef<str>, ) -> RequestHandler

Get tokenLifetimePolicies from policies

Source

pub fn update_token_lifetime_policies<B: BodyExt>( &self, token_lifetime_policy_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property tokenLifetimePolicies in policies

Trait Implementations§

Source§

impl ApiClientImpl for PoliciesApiClient

Source§

fn url(&self) -> Url

Source§

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value, ) -> GraphResult<String>

Source§

fn build_url<S>( &self, path: S, path_params_map: &Value, ) -> Result<Url, GraphFailure>
where S: AsRef<str>,

Source§

impl Debug for PoliciesApiClient

Source§

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

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

impl ODataQuery for PoliciesApiClient

Source§

fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self

Source§

fn count<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the total count of matching resources. See the docs
Source§

fn select(self, value: &[&str]) -> Self

Filters properties (columns). See the docs
Source§

fn expand(self, value: &[&str]) -> Self

Retrieves related resources. See the docs
Source§

fn filter(self, value: &[&str]) -> Self

Filters results (rows). See the docs
Source§

fn order_by(self, value: &[&str]) -> Self

Orders results. See the docs
Source§

fn search<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns results based on search criteria. See the docs
Source§

fn format<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns the results in the specified media format. See the docs
Source§

fn skip<S>(self, value: S) -> Self
where S: AsRef<str>,

Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
Source§

fn skip_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn delta_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn top<S>(self, value: S) -> Self
where S: AsRef<str>,

Sets the page size of results. See the docs
Source§

impl ResourceIdentifier for PoliciesApiClient

Auto Trait Implementations§

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more