mirror of
				https://git.proxmox.com/git/proxmox
				synced 2025-10-31 07:34:02 +00:00 
			
		
		
		
	api-types: derive Display and FromStr for MaintenanceType
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
		
							parent
							
								
									5196e0bbee
								
							
						
					
					
						commit
						cf10742842
					
				| @ -47,6 +47,8 @@ pub enum MaintenanceType { | ||||
|     /// Neither read nor write operations are allowed on the datastore.
 | ||||
|     Offline, | ||||
| } | ||||
| serde_plain::derive_display_from_serialize!(MaintenanceType); | ||||
| serde_plain::derive_fromstr_from_deserialize!(MaintenanceType); | ||||
| 
 | ||||
| #[api(
 | ||||
|     properties: { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Wolfgang Bumiller
						Wolfgang Bumiller