gi-secret-0.0.14: Libsecret bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Secret.Structs.SchemaAttribute

Description

An attribute in a Schema.

Synopsis

Exported types

newtype SchemaAttribute Source #

Memory-managed wrapper type.

newZeroSchemaAttribute :: MonadIO m => m SchemaAttribute Source #

Construct a SchemaAttribute struct initialized to zero.

Methods

Properties

name

name of the attribute

clearSchemaAttributeName :: MonadIO m => SchemaAttribute -> m () Source #

Set the value of the “name” field to Nothing. When overloading is enabled, this is equivalent to

clear #name

getSchemaAttributeName :: MonadIO m => SchemaAttribute -> m (Maybe Text) Source #

Get the value of the “name” field. When overloading is enabled, this is equivalent to

get schemaAttribute #name

setSchemaAttributeName :: MonadIO m => SchemaAttribute -> CString -> m () Source #

Set the value of the “name” field. When overloading is enabled, this is equivalent to

set schemaAttribute [ #name := value ]

type

the type of the attribute

getSchemaAttributeType :: MonadIO m => SchemaAttribute -> m SchemaAttributeType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get schemaAttribute #type

setSchemaAttributeType :: MonadIO m => SchemaAttribute -> SchemaAttributeType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set schemaAttribute [ #type := value ]