-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
ApiAccessMethod
to AccessMethodSetting
`ApiAccessMethod` was just an app-centric wrapper around `AccessMethod`.
- Loading branch information
1 parent
80ff123
commit 1fdc5d7
Showing
8 changed files
with
72 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
mullvad-management-interface/src/types/rpc/api_access_method_update.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/// A short-lived datastructure used in the `ApiAccessMethodUpdate` RPC call. | ||
use mullvad_types::api_access::{ApiAccessMethod, ApiAccessMethodId}; | ||
use mullvad_types::api_access::{AccessMethodSetting, ApiAccessMethodId}; | ||
/// Argument to gRPC call `UpdateApiAccessMethod`. | ||
#[derive(Debug, Clone, PartialEq)] | ||
pub struct ApiAccessMethodUpdate { | ||
pub id: ApiAccessMethodId, | ||
pub access_method: ApiAccessMethod, | ||
pub access_method: AccessMethodSetting, | ||
} |
Oops, something went wrong.