Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Nov 20, 2024
1 parent 036693b commit 74bd131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions v-api/src/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ impl<T> VAppPermissionResponse for T where T: Permission {}

#[v_api(From(VPermission))]
#[partial(VPermissionResponse, attributes(#[serde(tag = "kind", content = "value")]))]
#[derive(
Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema
)]
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema)]
pub enum VPermission {}
4 changes: 1 addition & 3 deletions v-api/tests/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ use v_api::{permissions::VPermission, ApiContext};
use v_api_permission_derive::v_api;

#[v_api(From(VPermission))]
#[derive(
Debug, Clone, Hash, PartialEq, Eq, Deserialize, Serialize, JsonSchema,
)]
#[derive(Debug, Clone, Hash, PartialEq, Eq, Deserialize, Serialize, JsonSchema)]
enum Permissions {
None,
}
Expand Down

0 comments on commit 74bd131

Please sign in to comment.