Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Secret.Enums
Description
Synopsis
- data Error
- data SchemaAttributeType
- data SchemaType
Enumerations
Error
No description available in the introspection data.
Constructors
ErrorProtocol | No description available in the introspection data. |
ErrorIsLocked | No description available in the introspection data. |
ErrorNoSuchObject | No description available in the introspection data. |
ErrorAlreadyExists | No description available in the introspection data. |
AnotherError Int | Catch-all for unknown values |
SchemaAttributeType
data SchemaAttributeType Source #
The type of an attribute in a Schema
. Attributes are stored as strings
in the Secret Service, and the attribute types simply define standard ways
to store integer and boolean values as strings.
Constructors
SchemaAttributeTypeString | a utf-8 string attribute |
SchemaAttributeTypeInteger | an integer attribute, stored as a decimal |
SchemaAttributeTypeBoolean | a boolean attribute, stored as 'true' or 'false' |
AnotherSchemaAttributeType Int | Catch-all for unknown values |
Instances
SchemaType
data SchemaType Source #
Different types of schemas for storing secrets, intended for use with
getSchema
.
Since: 0.18.6
Constructors
SchemaTypeNote | Personal passwords; see |
SchemaTypeCompatNetwork | Network passwords from older
libgnome-keyring storage; see |
AnotherSchemaType Int | Catch-all for unknown values |
Instances
Enum SchemaType Source # | |
Defined in GI.Secret.Enums Methods succ :: SchemaType -> SchemaType # pred :: SchemaType -> SchemaType # toEnum :: Int -> SchemaType # fromEnum :: SchemaType -> Int # enumFrom :: SchemaType -> [SchemaType] # enumFromThen :: SchemaType -> SchemaType -> [SchemaType] # enumFromTo :: SchemaType -> SchemaType -> [SchemaType] # enumFromThenTo :: SchemaType -> SchemaType -> SchemaType -> [SchemaType] # | |
Eq SchemaType Source # | |
Defined in GI.Secret.Enums | |
Ord SchemaType Source # | |
Defined in GI.Secret.Enums Methods compare :: SchemaType -> SchemaType -> Ordering # (<) :: SchemaType -> SchemaType -> Bool # (<=) :: SchemaType -> SchemaType -> Bool # (>) :: SchemaType -> SchemaType -> Bool # (>=) :: SchemaType -> SchemaType -> Bool # max :: SchemaType -> SchemaType -> SchemaType # min :: SchemaType -> SchemaType -> SchemaType # | |
Show SchemaType Source # | |
Defined in GI.Secret.Enums Methods showsPrec :: Int -> SchemaType -> ShowS # show :: SchemaType -> String # showList :: [SchemaType] -> ShowS # |