@@ -21,6 +21,7 @@ pub struct Collection {
2121 pub external_id : Option < String > ,
2222 pub hide_passwords : bool ,
2323 pub read_only : bool ,
24+ pub manage : bool ,
2425}
2526
2627#[ derive( Serialize , Deserialize , Debug , JsonSchema ) ]
@@ -35,6 +36,7 @@ pub struct CollectionView {
3536 pub external_id : Option < String > ,
3637 pub hide_passwords : bool ,
3738 pub read_only : bool ,
39+ pub manage : bool ,
3840}
3941
4042impl LocateKey for Collection {
@@ -57,6 +59,7 @@ impl KeyDecryptable<SymmetricCryptoKey, CollectionView> for Collection {
5759 external_id : self . external_id . clone ( ) ,
5860 hide_passwords : self . hide_passwords ,
5961 read_only : self . read_only ,
62+ manage : self . manage ,
6063 } )
6164 }
6265}
@@ -72,6 +75,7 @@ impl TryFrom<CollectionDetailsResponseModel> for Collection {
7275 external_id : collection. external_id ,
7376 hide_passwords : collection. hide_passwords . unwrap_or ( false ) ,
7477 read_only : collection. read_only . unwrap_or ( false ) ,
78+ manage : collection. manage . unwrap_or ( false ) ,
7579 } )
7680 }
7781}
0 commit comments