chore(deps): update to rust version 1.78

and fix the clippy warnings

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-06-10 13:08:09 +02:00
parent afceacd0d4
commit a9bb266668
Signed by: harald
GPG key ID: F519A1143B3FBE32
7 changed files with 15 additions and 15 deletions

View file

@ -122,17 +122,17 @@ pub struct AuthDataField {
/// Vault auth
#[derive(Debug, Default, Serialize, Deserialize)]
pub struct AuthField {
/// TODO
/// if the auth token is renewable
pub renewable: bool,
/// TODO
/// the lease duration of the auth token
pub lease_duration: isize,
/// TODO
/// the policies of the auth token
pub policies: Vec<String>,
/// TODO
/// the accessor of the auth token
pub accessor: String,
/// TODO
/// the client token
pub client_token: String,
/// TODO
/// additional metadata
pub metadata: AuthMetadataField,
}
@ -141,7 +141,7 @@ pub struct AuthField {
pub struct AuthResponse {
/// vault auth
pub auth: AuthField,
///
/// vault auth data
pub data: AuthDataField,
}