libsecret/auto/
constants.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from
// from gir-files (https://github.com/gtk-rs/gir-files.git)
// DO NOT EDIT

use crate::ffi;
use glib::GStr;

/// An alias to the default collection.
///
/// This can be passed to `password_store()` `for_alias()`.
#[doc(alias = "SECRET_COLLECTION_DEFAULT")]
pub static COLLECTION_DEFAULT: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::SECRET_COLLECTION_DEFAULT) };
/// An alias to the session collection, which will be cleared when the user ends
/// the session.
///
/// This can be passed to `password_store()`, `for_alias()` or
/// similar functions.
#[doc(alias = "SECRET_COLLECTION_SESSION")]
pub static COLLECTION_SESSION: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::SECRET_COLLECTION_SESSION) };