gio/auto/
constants.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::ffi;
6use glib::GStr;
7
8/// Extension point for debug control functionality.
9/// See [Extending GIO](overview.html#extending-gio).
10#[cfg(feature = "v2_72")]
11#[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
12#[doc(alias = "G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME")]
13pub static DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &GStr =
14    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME) };
15/// The string used to obtain a Unix device path with g_drive_get_identifier().
16#[cfg(feature = "v2_58")]
17#[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))]
18#[doc(alias = "G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE")]
19pub static DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &GStr =
20    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE) };
21/// A key in the "access" namespace for checking deletion privileges.
22///
23/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
24///
25/// This attribute will be [`true`] if the user is able to delete the file.
26#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE")]
27pub static FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &GStr =
28    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE) };
29/// A key in the "access" namespace for getting execution privileges.
30///
31/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
32///
33/// This attribute will be [`true`] if the user is able to execute the file.
34#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE")]
35pub static FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &GStr =
36    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE) };
37/// A key in the "access" namespace for getting read privileges.
38///
39/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
40///
41/// This attribute will be [`true`] if the user is able to read the file.
42#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_READ")]
43pub static FILE_ATTRIBUTE_ACCESS_CAN_READ: &GStr =
44    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_READ) };
45/// A key in the "access" namespace for checking renaming privileges.
46///
47/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
48///
49/// This attribute will be [`true`] if the user is able to rename the file.
50#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME")]
51pub static FILE_ATTRIBUTE_ACCESS_CAN_RENAME: &GStr =
52    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME) };
53/// A key in the "access" namespace for checking trashing privileges.
54///
55/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
56///
57/// This attribute will be [`true`] if the user is able to move the file to
58/// the trash.
59#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH")]
60pub static FILE_ATTRIBUTE_ACCESS_CAN_TRASH: &GStr =
61    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH) };
62/// A key in the "access" namespace for getting write privileges.
63///
64/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
65///
66/// This attribute will be [`true`] if the user is able to write to the file.
67#[doc(alias = "G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE")]
68pub static FILE_ATTRIBUTE_ACCESS_CAN_WRITE: &GStr =
69    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE) };
70/// A key in the "dos" namespace for checking if the file's archive flag
71/// is set.
72///
73/// This attribute is [`true`] if the archive flag is set.
74///
75/// This attribute is only available for DOS file systems.
76///
77/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
78#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE")]
79pub static FILE_ATTRIBUTE_DOS_IS_ARCHIVE: &GStr =
80    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE) };
81/// A key in the "dos" namespace for checking if the file is a NTFS mount point
82/// (a volume mount or a junction point).
83///
84/// This attribute is [`true`] if file is a reparse point of type
85/// [IO_REPARSE_TAG_MOUNT_POINT](https://msdn.microsoft.com/en-us/library/dd541667.aspx).
86///
87/// This attribute is only available for DOS file systems.
88///
89/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
90#[cfg(feature = "v2_60")]
91#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
92#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT")]
93pub static FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: &GStr =
94    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT) };
95/// A key in the "dos" namespace for checking if the file's backup flag
96/// is set.
97///
98/// This attribute is [`true`] if the backup flag is set.
99///
100/// This attribute is only available for DOS file systems.
101///
102/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
103#[doc(alias = "G_FILE_ATTRIBUTE_DOS_IS_SYSTEM")]
104pub static FILE_ATTRIBUTE_DOS_IS_SYSTEM: &GStr =
105    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_IS_SYSTEM) };
106/// A key in the "dos" namespace for getting the file NTFS reparse tag.
107///
108/// This value is 0 for files that are not reparse points.
109///
110/// See the [Reparse Tags](https://msdn.microsoft.com/en-us/library/dd541667.aspx)
111/// page for possible reparse tag values.
112///
113/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
114#[cfg(feature = "v2_60")]
115#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
116#[doc(alias = "G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG")]
117pub static FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: &GStr =
118    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG) };
119/// A key in the "etag" namespace for getting the value of the file's
120/// entity tag.
121///
122/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
123#[doc(alias = "G_FILE_ATTRIBUTE_ETAG_VALUE")]
124pub static FILE_ATTRIBUTE_ETAG_VALUE: &GStr =
125    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ETAG_VALUE) };
126/// A key in the "filesystem" namespace for getting the number of bytes
127/// of free space left on the file system.
128///
129/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
130#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_FREE")]
131pub static FILE_ATTRIBUTE_FILESYSTEM_FREE: &GStr =
132    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_FREE) };
133/// A key in the "filesystem" namespace for checking if the file system
134/// is read only.
135///
136/// Is set to [`true`] if the file system is read only.
137///
138/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
139#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_READONLY")]
140pub static FILE_ATTRIBUTE_FILESYSTEM_READONLY: &GStr =
141    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_READONLY) };
142/// A key in the "filesystem" namespace for checking if the file system
143/// is remote.
144///
145/// Is set to [`true`] if the file system is remote.
146///
147/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
148#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE")]
149pub static FILE_ATTRIBUTE_FILESYSTEM_REMOTE: &GStr =
150    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE) };
151/// A key in the "filesystem" namespace for getting the total size (in
152/// bytes) of the file system, used in g_file_query_filesystem_info().
153///
154/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
155#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_SIZE")]
156pub static FILE_ATTRIBUTE_FILESYSTEM_SIZE: &GStr =
157    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_SIZE) };
158/// A key in the "filesystem" namespace for getting the file system's type.
159///
160/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
161#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_TYPE")]
162pub static FILE_ATTRIBUTE_FILESYSTEM_TYPE: &GStr =
163    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_TYPE) };
164/// A key in the "filesystem" namespace for getting the number of bytes
165/// used by data on the file system.
166///
167/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
168#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_USED")]
169pub static FILE_ATTRIBUTE_FILESYSTEM_USED: &GStr =
170    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_USED) };
171/// A key in the "filesystem" namespace for hinting a file manager
172/// application whether it should preview (e.g. thumbnail) files on the
173/// file system.
174///
175/// The value for this key contain a #GFilesystemPreviewType.
176#[doc(alias = "G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW")]
177pub static FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: &GStr =
178    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW) };
179/// A key in the "gvfs" namespace that gets the name of the current
180/// GVFS backend in use.
181///
182/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
183#[doc(alias = "G_FILE_ATTRIBUTE_GVFS_BACKEND")]
184pub static FILE_ATTRIBUTE_GVFS_BACKEND: &GStr =
185    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_GVFS_BACKEND) };
186/// A key in the "id" namespace for getting a file identifier.
187///
188/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
189///
190/// An example use would be during listing files, to avoid recursive
191/// directory scanning.
192#[doc(alias = "G_FILE_ATTRIBUTE_ID_FILE")]
193pub static FILE_ATTRIBUTE_ID_FILE: &GStr =
194    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ID_FILE) };
195/// A key in the "id" namespace for getting the file system identifier.
196///
197/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
198///
199/// An example use would be during drag and drop to see if the source
200/// and target are on the same filesystem (default to move) or not (default
201/// to copy).
202#[doc(alias = "G_FILE_ATTRIBUTE_ID_FILESYSTEM")]
203pub static FILE_ATTRIBUTE_ID_FILESYSTEM: &GStr =
204    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_ID_FILESYSTEM) };
205/// A key in the "mountable" namespace for checking if a file (of
206/// type G_FILE_TYPE_MOUNTABLE) can be ejected.
207///
208/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
209#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT")]
210pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: &GStr =
211    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT) };
212/// A key in the "mountable" namespace for checking if a file (of
213/// type G_FILE_TYPE_MOUNTABLE) is mountable.
214///
215/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
216#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT")]
217pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: &GStr =
218    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT) };
219/// A key in the "mountable" namespace for checking if a file (of
220/// type G_FILE_TYPE_MOUNTABLE) can be polled.
221///
222/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
223#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL")]
224pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: &GStr =
225    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL) };
226/// A key in the "mountable" namespace for checking if a file (of
227/// type G_FILE_TYPE_MOUNTABLE) can be started.
228///
229/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
230#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START")]
231pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_START: &GStr =
232    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START) };
233/// A key in the "mountable" namespace for checking if a file (of
234/// type G_FILE_TYPE_MOUNTABLE) can be started degraded.
235///
236/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
237#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED")]
238pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: &GStr = unsafe {
239    GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED)
240};
241/// A key in the "mountable" namespace for checking if a file (of
242/// type G_FILE_TYPE_MOUNTABLE) can be stopped.
243///
244/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
245#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP")]
246pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: &GStr =
247    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP) };
248/// A key in the "mountable" namespace for checking if a file (of
249/// type G_FILE_TYPE_MOUNTABLE)  is unmountable.
250///
251/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
252#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT")]
253pub static FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: &GStr =
254    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT) };
255/// A key in the "mountable" namespace for getting the HAL UDI for the mountable
256/// file.
257///
258/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
259#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI")]
260pub static FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: &GStr =
261    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI) };
262/// A key in the "mountable" namespace for checking if a file (of
263/// type G_FILE_TYPE_MOUNTABLE) is automatically polled for media.
264///
265/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
266#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC")]
267pub static FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: &GStr = unsafe {
268    GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC)
269};
270/// A key in the "mountable" namespace for getting the #GDriveStartStopType.
271///
272/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
273#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE")]
274pub static FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: &GStr =
275    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE) };
276/// A key in the "mountable" namespace for getting the unix device.
277///
278/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
279#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE")]
280pub static FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: &GStr =
281    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE) };
282/// A key in the "mountable" namespace for getting the unix device file.
283///
284/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
285#[doc(alias = "G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE")]
286pub static FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: &GStr =
287    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE) };
288/// A key in the "owner" namespace for getting the file owner's group.
289///
290/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
291#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_GROUP")]
292pub static FILE_ATTRIBUTE_OWNER_GROUP: &GStr =
293    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_GROUP) };
294/// A key in the "owner" namespace for getting the user name of the
295/// file's owner.
296///
297/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
298#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_USER")]
299pub static FILE_ATTRIBUTE_OWNER_USER: &GStr =
300    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_USER) };
301/// A key in the "owner" namespace for getting the real name of the
302/// user that owns the file.
303///
304/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
305#[doc(alias = "G_FILE_ATTRIBUTE_OWNER_USER_REAL")]
306pub static FILE_ATTRIBUTE_OWNER_USER_REAL: &GStr =
307    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_OWNER_USER_REAL) };
308/// A key in the "preview" namespace for getting a #GIcon that can be
309/// used to get preview of the file.
310///
311/// For example, it may be a low resolution thumbnail without metadata.
312///
313/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
314///
315/// The value for this key should contain a #GIcon.
316#[doc(alias = "G_FILE_ATTRIBUTE_PREVIEW_ICON")]
317pub static FILE_ATTRIBUTE_PREVIEW_ICON: &GStr =
318    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_PREVIEW_ICON) };
319/// A key in the "recent" namespace for getting time, when the metadata for the
320/// file in `recent:///` was last changed.
321///
322/// Corresponding #GFileAttributeType is [`FileAttributeType::Int64`][crate::FileAttributeType::Int64].
323#[doc(alias = "G_FILE_ATTRIBUTE_RECENT_MODIFIED")]
324pub static FILE_ATTRIBUTE_RECENT_MODIFIED: &GStr =
325    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_RECENT_MODIFIED) };
326/// A key in the "selinux" namespace for getting the file's SELinux
327/// context.
328///
329/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
330///
331/// Note that this attribute is only available if GLib has been built
332/// with SELinux support.
333#[doc(alias = "G_FILE_ATTRIBUTE_SELINUX_CONTEXT")]
334pub static FILE_ATTRIBUTE_SELINUX_CONTEXT: &GStr =
335    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_SELINUX_CONTEXT) };
336/// A key in the "standard" namespace for getting the amount of disk space
337/// that is consumed by the file (in bytes).
338///
339/// This will generally be larger than the file size (due to block size
340/// overhead) but can occasionally be smaller (for example, for sparse files).
341///
342/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
343#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE")]
344pub static FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: &GStr =
345    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE) };
346/// A key in the "standard" namespace for getting the content type of the file.
347///
348/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
349///
350/// The value for this key should contain a valid content type.
351#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE")]
352pub static FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: &GStr =
353    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE) };
354/// A key in the "standard" namespace for getting the copy name of the file.
355///
356/// The copy name is an optional version of the name. If available it's always
357/// in UTF8, and corresponds directly to the original filename (only transcoded to
358/// UTF8). This is useful if you want to copy the file to another filesystem that
359/// might have a different encoding. If the filename is not a valid string in the
360/// encoding selected for the filesystem it is in then the copy name will not be set.
361///
362/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
363#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_COPY_NAME")]
364pub static FILE_ATTRIBUTE_STANDARD_COPY_NAME: &GStr =
365    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_COPY_NAME) };
366/// A key in the "standard" namespace for getting the description of the file.
367///
368/// The description is a utf8 string that describes the file, generally containing
369/// the filename, but can also contain further information. Example descriptions
370/// could be "filename (on hostname)" for a remote file or "filename (in trash)"
371/// for a file in the trash. This is useful for instance as the window title
372/// when displaying a directory or for a bookmarks menu.
373///
374/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
375#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION")]
376pub static FILE_ATTRIBUTE_STANDARD_DESCRIPTION: &GStr =
377    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION) };
378/// A key in the "standard" namespace for getting the display name of the file.
379///
380/// A display name is guaranteed to be in UTF-8 and can thus be displayed in
381/// the UI. It is guaranteed to be set on every file.
382///
383/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
384#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME")]
385pub static FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: &GStr =
386    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME) };
387/// A key in the "standard" namespace for edit name of the file.
388///
389/// An edit name is similar to the display name, but it is meant to be
390/// used when you want to rename the file in the UI. The display name
391/// might contain information you don't want in the new filename (such as
392/// "(invalid unicode)" if the filename was in an invalid encoding).
393///
394/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
395#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME")]
396pub static FILE_ATTRIBUTE_STANDARD_EDIT_NAME: &GStr =
397    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) };
398/// A key in the "standard" namespace for getting the fast content type.
399///
400/// The fast content type isn't as reliable as the regular one, as it
401/// only uses the filename to guess it, but it is faster to calculate than the
402/// regular content type.
403///
404/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
405#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE")]
406pub static FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: &GStr =
407    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE) };
408/// A key in the "standard" namespace for getting the icon for the file.
409///
410/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
411///
412/// The value for this key should contain a #GIcon.
413#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_ICON")]
414pub static FILE_ATTRIBUTE_STANDARD_ICON: &GStr =
415    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_ICON) };
416/// A key in the "standard" namespace for checking if a file is a backup file.
417///
418/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
419#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP")]
420pub static FILE_ATTRIBUTE_STANDARD_IS_BACKUP: &GStr =
421    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP) };
422/// A key in the "standard" namespace for checking if a file is hidden.
423///
424/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
425#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN")]
426pub static FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: &GStr =
427    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN) };
428/// A key in the "standard" namespace for checking if the file is a symlink.
429/// Typically the actual type is something else, if we followed the symlink
430/// to get the type.
431///
432/// On Windows NTFS mountpoints are considered to be symlinks as well.
433///
434/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
435#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK")]
436pub static FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: &GStr =
437    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK) };
438/// A key in the "standard" namespace for checking if a file is virtual.
439///
440/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
441#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL")]
442pub static FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: &GStr =
443    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL) };
444/// A key in the "standard" namespace for checking if a file is
445/// volatile. This is meant for opaque, non-POSIX-like backends to
446/// indicate that the URI is not persistent. Applications should look
447/// at [`FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET`][crate::FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET] for the persistent URI.
448///
449/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
450#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE")]
451pub static FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: &GStr =
452    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE) };
453/// A key in the "standard" namespace for getting the name of the file.
454///
455/// The name is the on-disk filename which may not be in any known encoding,
456/// and can thus not be generally displayed as is. It is guaranteed to be set on
457/// every file.
458///
459/// Use [`FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME`][crate::FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME] if you need to display the
460/// name in a user interface.
461///
462/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
463#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_NAME")]
464pub static FILE_ATTRIBUTE_STANDARD_NAME: &GStr =
465    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_NAME) };
466/// A key in the "standard" namespace for getting the file's size (in bytes).
467///
468/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
469#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SIZE")]
470pub static FILE_ATTRIBUTE_STANDARD_SIZE: &GStr =
471    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SIZE) };
472/// A key in the "standard" namespace for setting the sort order of a file.
473///
474/// Corresponding #GFileAttributeType is [`FileAttributeType::Int32`][crate::FileAttributeType::Int32].
475///
476/// An example use would be in file managers, which would use this key
477/// to set the order files are displayed. Files with smaller sort order
478/// should be sorted first, and files without sort order as if sort order
479/// was zero.
480#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER")]
481pub static FILE_ATTRIBUTE_STANDARD_SORT_ORDER: &GStr =
482    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER) };
483/// A key in the "standard" namespace for getting the symbolic icon for the file.
484///
485/// Corresponding #GFileAttributeType is [`FileAttributeType::Object`][crate::FileAttributeType::Object].
486///
487/// The value for this key should contain a #GIcon.
488#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON")]
489pub static FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: &GStr =
490    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON) };
491/// A key in the "standard" namespace for getting the symlink target, if the file
492/// is a symlink.
493///
494/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
495#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET")]
496pub static FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: &GStr =
497    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET) };
498/// A key in the "standard" namespace for getting the target URI for the file, in
499/// the case of [`FileType::Shortcut`][crate::FileType::Shortcut] or [`FileType::Mountable`][crate::FileType::Mountable] files.
500///
501/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
502#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_TARGET_URI")]
503pub static FILE_ATTRIBUTE_STANDARD_TARGET_URI: &GStr =
504    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_TARGET_URI) };
505/// A key in the "standard" namespace for storing file types.
506///
507/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
508///
509/// The value for this key should contain a #GFileType.
510#[doc(alias = "G_FILE_ATTRIBUTE_STANDARD_TYPE")]
511pub static FILE_ATTRIBUTE_STANDARD_TYPE: &GStr =
512    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_STANDARD_TYPE) };
513/// A key in the "thumbnail" namespace for checking if thumbnailing failed.
514///
515/// This attribute is [`true`] if thumbnailing failed.
516///
517/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
518#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED")]
519pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED: &GStr =
520    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED) };
521/// A key in the "thumbnail" namespace for checking if thumbnailing failed
522/// for the large image.
523///
524/// This attribute is [`true`] if thumbnailing failed.
525///
526/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
527#[cfg(feature = "v2_76")]
528#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
529#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE")]
530pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE: &GStr =
531    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE) };
532/// A key in the "thumbnail" namespace for checking if thumbnailing failed
533/// for the normal image.
534///
535/// This attribute is [`true`] if thumbnailing failed.
536///
537/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
538#[cfg(feature = "v2_76")]
539#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
540#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL")]
541pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL: &GStr =
542    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL) };
543/// A key in the "thumbnail" namespace for checking if thumbnailing failed
544/// for the x-large image.
545///
546/// This attribute is [`true`] if thumbnailing failed.
547///
548/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
549#[cfg(feature = "v2_76")]
550#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
551#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE")]
552pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE: &GStr =
553    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE) };
554/// A key in the "thumbnail" namespace for checking if thumbnailing failed
555/// for the xx-large image.
556///
557/// This attribute is [`true`] if thumbnailing failed.
558///
559/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
560#[cfg(feature = "v2_76")]
561#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
562#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE")]
563pub static FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE: &GStr = unsafe {
564    GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE)
565};
566/// A key in the "thumbnail" namespace for checking whether the thumbnail is outdated.
567///
568/// This attribute is [`true`] if the thumbnail is up-to-date with the file it represents,
569/// and [`false`] if the file has been modified since the thumbnail was generated.
570///
571/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED] is [`true`] and this attribute is [`false`],
572/// it indicates that thumbnailing may be attempted again and may succeed.
573///
574/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
575#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID")]
576pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: &GStr =
577    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID) };
578/// A key in the "thumbnail" namespace for checking whether the large
579/// thumbnail is outdated.
580///
581/// This attribute is [`true`] if the large thumbnail is up-to-date with the file
582/// it represents, and [`false`] if the file has been modified since the thumbnail
583/// was generated.
584///
585/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE] is [`true`] and this attribute
586/// is [`false`], it indicates that thumbnailing may be attempted again and may
587/// succeed.
588///
589/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
590#[cfg(feature = "v2_76")]
591#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
592#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE")]
593pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE: &GStr =
594    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE) };
595/// A key in the "thumbnail" namespace for checking whether the normal
596/// thumbnail is outdated.
597///
598/// This attribute is [`true`] if the normal thumbnail is up-to-date with the file
599/// it represents, and [`false`] if the file has been modified since the thumbnail
600/// was generated.
601///
602/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL] is [`true`] and this attribute
603/// is [`false`], it indicates that thumbnailing may be attempted again and may
604/// succeed.
605///
606/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
607#[cfg(feature = "v2_76")]
608#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
609#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL")]
610pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL: &GStr =
611    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL) };
612/// A key in the "thumbnail" namespace for checking whether the x-large
613/// thumbnail is outdated.
614///
615/// This attribute is [`true`] if the x-large thumbnail is up-to-date with the file
616/// it represents, and [`false`] if the file has been modified since the thumbnail
617/// was generated.
618///
619/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE] is [`true`] and this attribute
620/// is [`false`], it indicates that thumbnailing may be attempted again and may
621/// succeed.
622///
623/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
624#[cfg(feature = "v2_76")]
625#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
626#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE")]
627pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE: &GStr =
628    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE) };
629/// A key in the "thumbnail" namespace for checking whether the xx-large
630/// thumbnail is outdated.
631///
632/// This attribute is [`true`] if the x-large thumbnail is up-to-date with the file
633/// it represents, and [`false`] if the file has been modified since the thumbnail
634/// was generated.
635///
636/// If [`FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE`][crate::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE] is [`true`] and this attribute
637/// is [`false`], it indicates that thumbnailing may be attempted again and may
638/// succeed.
639///
640/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
641#[cfg(feature = "v2_76")]
642#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
643#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE")]
644pub static FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE: &GStr =
645    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE) };
646/// A key in the "thumbnail" namespace for getting the path to the thumbnail
647/// image with the biggest size available.
648///
649/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
650#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH")]
651pub static FILE_ATTRIBUTE_THUMBNAIL_PATH: &GStr =
652    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH) };
653/// A key in the "thumbnail" namespace for getting the path to the large
654/// thumbnail image.
655///
656/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
657#[cfg(feature = "v2_76")]
658#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
659#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE")]
660pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE: &GStr =
661    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE) };
662/// A key in the "thumbnail" namespace for getting the path to the normal
663/// thumbnail image.
664///
665/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
666#[cfg(feature = "v2_76")]
667#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
668#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL")]
669pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL: &GStr =
670    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL) };
671/// A key in the "thumbnail" namespace for getting the path to the x-large
672/// thumbnail image.
673///
674/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
675#[cfg(feature = "v2_76")]
676#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
677#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE")]
678pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE: &GStr =
679    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE) };
680/// A key in the "thumbnail" namespace for getting the path to the xx-large
681/// thumbnail image.
682///
683/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
684#[cfg(feature = "v2_76")]
685#[cfg_attr(docsrs, doc(cfg(feature = "v2_76")))]
686#[doc(alias = "G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE")]
687pub static FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE: &GStr =
688    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE) };
689/// A key in the "time" namespace for getting the time the file was last
690/// accessed.
691///
692/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64], and
693/// contains the time since the file was last accessed, in seconds since the
694/// UNIX epoch.
695#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS")]
696pub static FILE_ATTRIBUTE_TIME_ACCESS: &GStr =
697    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS) };
698/// A key in the "time" namespace for getting the nanoseconds of the time
699/// the file was last accessed. This should be used in conjunction with
700/// #G_FILE_ATTRIBUTE_TIME_ACCESS. Corresponding #GFileAttributeType is
701/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
702#[cfg(feature = "v2_74")]
703#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
704#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC")]
705pub static FILE_ATTRIBUTE_TIME_ACCESS_NSEC: &GStr =
706    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS_NSEC) };
707/// A key in the "time" namespace for getting the microseconds of the time
708/// the file was last accessed.
709///
710/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_ACCESS`][crate::FILE_ATTRIBUTE_TIME_ACCESS].
711///
712/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
713#[doc(alias = "G_FILE_ATTRIBUTE_TIME_ACCESS_USEC")]
714pub static FILE_ATTRIBUTE_TIME_ACCESS_USEC: &GStr =
715    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_ACCESS_USEC) };
716/// A key in the "time" namespace for getting the time the file was last
717/// changed.
718///
719/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64],
720/// and contains the time since the file was last changed, in seconds since
721/// the UNIX epoch.
722///
723/// This corresponds to the traditional UNIX ctime.
724#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED")]
725pub static FILE_ATTRIBUTE_TIME_CHANGED: &GStr =
726    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED) };
727/// A key in the "time" namespace for getting the nanoseconds of the time
728/// the file was last changed. This should be used in conjunction with
729/// #G_FILE_ATTRIBUTE_TIME_CHANGED. Corresponding #GFileAttributeType is
730/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
731#[cfg(feature = "v2_74")]
732#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
733#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC")]
734pub static FILE_ATTRIBUTE_TIME_CHANGED_NSEC: &GStr =
735    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED_NSEC) };
736/// A key in the "time" namespace for getting the microseconds of the time
737/// the file was last changed.
738///
739/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_CHANGED`][crate::FILE_ATTRIBUTE_TIME_CHANGED].
740///
741/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
742#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CHANGED_USEC")]
743pub static FILE_ATTRIBUTE_TIME_CHANGED_USEC: &GStr =
744    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CHANGED_USEC) };
745/// A key in the "time" namespace for getting the time the file was created.
746///
747/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64],
748/// and contains the time since the file was created, in seconds since the UNIX
749/// epoch.
750///
751/// This may correspond to Linux `stx_btime`, FreeBSD `st_birthtim`, NetBSD
752/// `st_birthtime` or NTFS `ctime`.
753#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED")]
754pub static FILE_ATTRIBUTE_TIME_CREATED: &GStr =
755    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED) };
756/// A key in the "time" namespace for getting the nanoseconds of the time
757/// the file was created. This should be used in conjunction with
758/// #G_FILE_ATTRIBUTE_TIME_CREATED. Corresponding #GFileAttributeType is
759/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
760#[cfg(feature = "v2_74")]
761#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
762#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED_NSEC")]
763pub static FILE_ATTRIBUTE_TIME_CREATED_NSEC: &GStr =
764    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED_NSEC) };
765/// A key in the "time" namespace for getting the microseconds of the time
766/// the file was created.
767///
768/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_CREATED`][crate::FILE_ATTRIBUTE_TIME_CREATED].
769///
770/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
771#[doc(alias = "G_FILE_ATTRIBUTE_TIME_CREATED_USEC")]
772pub static FILE_ATTRIBUTE_TIME_CREATED_USEC: &GStr =
773    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_CREATED_USEC) };
774/// A key in the "time" namespace for getting the time the file was last
775/// modified.
776///
777/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64], and
778/// contains the time since the file was modified, in seconds since the UNIX
779/// epoch.
780#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED")]
781pub static FILE_ATTRIBUTE_TIME_MODIFIED: &GStr =
782    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED) };
783/// A key in the "time" namespace for getting the nanoseconds of the time
784/// the file was last modified. This should be used in conjunction with
785/// #G_FILE_ATTRIBUTE_TIME_MODIFIED. Corresponding #GFileAttributeType is
786/// [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
787#[cfg(feature = "v2_74")]
788#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
789#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC")]
790pub static FILE_ATTRIBUTE_TIME_MODIFIED_NSEC: &GStr =
791    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED_NSEC) };
792/// A key in the "time" namespace for getting the microseconds of the time
793/// the file was last modified.
794///
795/// This should be used in conjunction with [`FILE_ATTRIBUTE_TIME_MODIFIED`][crate::FILE_ATTRIBUTE_TIME_MODIFIED].
796///
797/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
798#[doc(alias = "G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC")]
799pub static FILE_ATTRIBUTE_TIME_MODIFIED_USEC: &GStr =
800    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC) };
801/// A key in the "trash" namespace for getting the deletion date and time
802/// of a file inside the `trash:///` folder.
803///
804/// The format of the returned string is `YYYY-MM-DDThh:mm:ss`.
805///
806/// Corresponding #GFileAttributeType is [`FileAttributeType::String`][crate::FileAttributeType::String].
807#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_DELETION_DATE")]
808pub static FILE_ATTRIBUTE_TRASH_DELETION_DATE: &GStr =
809    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_DELETION_DATE) };
810/// A key in the "trash" namespace for getting the number of (toplevel) items
811/// that are present in the `trash:///` folder.
812///
813/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
814#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT")]
815pub static FILE_ATTRIBUTE_TRASH_ITEM_COUNT: &GStr =
816    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT) };
817/// A key in the "trash" namespace for getting the original path of a file
818/// inside the `trash:///` folder before it was trashed.
819///
820/// Corresponding #GFileAttributeType is [`FileAttributeType::ByteString`][crate::FileAttributeType::ByteString].
821#[doc(alias = "G_FILE_ATTRIBUTE_TRASH_ORIG_PATH")]
822pub static FILE_ATTRIBUTE_TRASH_ORIG_PATH: &GStr =
823    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_TRASH_ORIG_PATH) };
824/// A key in the "unix" namespace for getting the number of blocks allocated
825/// for the file.
826///
827/// This attribute is only available for UNIX file systems.
828///
829/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
830#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_BLOCKS")]
831pub static FILE_ATTRIBUTE_UNIX_BLOCKS: &GStr =
832    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_BLOCKS) };
833/// A key in the "unix" namespace for getting the block size for the file
834/// system.
835///
836/// This attribute is only available for UNIX file systems.
837///
838/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
839#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE")]
840pub static FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: &GStr =
841    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE) };
842/// A key in the "unix" namespace for getting the device id of the device the
843/// file is located on (see stat() documentation).
844///
845/// This attribute is only available for UNIX file systems.
846///
847/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
848#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_DEVICE")]
849pub static FILE_ATTRIBUTE_UNIX_DEVICE: &GStr =
850    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_DEVICE) };
851/// A key in the "unix" namespace for getting the group ID for the file.
852///
853/// This attribute is only available for UNIX file systems.
854///
855/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
856#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_GID")]
857pub static FILE_ATTRIBUTE_UNIX_GID: &GStr =
858    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_GID) };
859/// A key in the "unix" namespace for getting the inode of the file.
860///
861/// This attribute is only available for UNIX file systems.
862///
863/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint64`][crate::FileAttributeType::Uint64].
864#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_INODE")]
865pub static FILE_ATTRIBUTE_UNIX_INODE: &GStr =
866    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_INODE) };
867/// A key in the "unix" namespace for checking if the file represents a
868/// UNIX mount point.
869///
870/// This attribute is [`true`] if the file is a UNIX mount point.
871///
872/// Since 2.58, `/` is considered to be a mount point.
873///
874/// This attribute is only available for UNIX file systems.
875///
876/// Corresponding #GFileAttributeType is [`FileAttributeType::Boolean`][crate::FileAttributeType::Boolean].
877#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT")]
878pub static FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: &GStr =
879    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT) };
880/// A key in the "unix" namespace for getting the mode of the file
881/// (e.g. whether the file is a regular file, symlink, etc).
882///
883/// See the documentation for `lstat()`: this attribute is equivalent to
884/// the `st_mode` member of `struct stat`, and includes both the file type
885/// and permissions.
886///
887/// This attribute is only available for UNIX file systems.
888///
889/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
890#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_MODE")]
891pub static FILE_ATTRIBUTE_UNIX_MODE: &GStr =
892    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_MODE) };
893/// A key in the "unix" namespace for getting the number of hard links
894/// for a file.
895///
896/// See the documentation for `lstat()`.
897///
898/// This attribute is only available for UNIX file systems.
899///
900/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
901#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_NLINK")]
902pub static FILE_ATTRIBUTE_UNIX_NLINK: &GStr =
903    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_NLINK) };
904/// A key in the "unix" namespace for getting the device ID for the file
905/// (if it is a special file).
906///
907/// See the documentation for `lstat()`.
908///
909/// This attribute is only available for UNIX file systems.
910///
911/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
912#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_RDEV")]
913pub static FILE_ATTRIBUTE_UNIX_RDEV: &GStr =
914    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_RDEV) };
915/// A key in the "unix" namespace for getting the user ID for the file.
916///
917/// This attribute is only available for UNIX file systems.
918///
919/// Corresponding #GFileAttributeType is [`FileAttributeType::Uint32`][crate::FileAttributeType::Uint32].
920#[doc(alias = "G_FILE_ATTRIBUTE_UNIX_UID")]
921pub static FILE_ATTRIBUTE_UNIX_UID: &GStr =
922    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_FILE_ATTRIBUTE_UNIX_UID) };
923/// Extension point for memory usage monitoring functionality.
924/// See [Extending GIO](overview.html#extending-gio).
925#[cfg(feature = "v2_64")]
926#[cfg_attr(docsrs, doc(cfg(feature = "v2_64")))]
927#[doc(alias = "G_MEMORY_MONITOR_EXTENSION_POINT_NAME")]
928pub static MEMORY_MONITOR_EXTENSION_POINT_NAME: &GStr =
929    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MEMORY_MONITOR_EXTENSION_POINT_NAME) };
930/// The menu item attribute which holds the action name of the item.  Action
931/// names are namespaced with an identifier for the action group in which the
932/// action resides. For example, "win." for window-specific actions and "app."
933/// for application-wide actions.
934///
935/// See also g_menu_model_get_item_attribute() and g_menu_item_set_attribute().
936#[doc(alias = "G_MENU_ATTRIBUTE_ACTION")]
937pub static MENU_ATTRIBUTE_ACTION: &GStr =
938    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ACTION) };
939/// The menu item attribute that holds the namespace for all action names in
940/// menus that are linked from this item.
941#[doc(alias = "G_MENU_ATTRIBUTE_ACTION_NAMESPACE")]
942pub static MENU_ATTRIBUTE_ACTION_NAMESPACE: &GStr =
943    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ACTION_NAMESPACE) };
944/// The menu item attribute which holds the icon of the item.
945///
946/// The icon is stored in the format returned by g_icon_serialize().
947///
948/// This attribute is intended only to represent 'noun' icons such as
949/// favicons for a webpage, or application icons.  It should not be used
950/// for 'verbs' (ie: stock icons).
951#[doc(alias = "G_MENU_ATTRIBUTE_ICON")]
952pub static MENU_ATTRIBUTE_ICON: &GStr =
953    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_ICON) };
954/// The menu item attribute which holds the label of the item.
955#[doc(alias = "G_MENU_ATTRIBUTE_LABEL")]
956pub static MENU_ATTRIBUTE_LABEL: &GStr =
957    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_LABEL) };
958/// The menu item attribute which holds the target with which the item's action
959/// will be activated.
960///
961/// See also g_menu_item_set_action_and_target()
962#[doc(alias = "G_MENU_ATTRIBUTE_TARGET")]
963pub static MENU_ATTRIBUTE_TARGET: &GStr =
964    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_ATTRIBUTE_TARGET) };
965/// The name of the link that associates a menu item with a section.  The linked
966/// menu will usually be shown in place of the menu item, using the item's label
967/// as a header.
968///
969/// See also g_menu_item_set_link().
970#[doc(alias = "G_MENU_LINK_SECTION")]
971pub static MENU_LINK_SECTION: &GStr =
972    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_LINK_SECTION) };
973/// The name of the link that associates a menu item with a submenu.
974///
975/// See also g_menu_item_set_link().
976#[doc(alias = "G_MENU_LINK_SUBMENU")]
977pub static MENU_LINK_SUBMENU: &GStr =
978    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_MENU_LINK_SUBMENU) };
979#[doc(alias = "G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
980pub static NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: &GStr = unsafe {
981    GStr::from_utf8_with_nul_unchecked(ffi::G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME)
982};
983/// Extension point for network status monitoring functionality.
984/// See [Extending GIO](overview.html#extending-gio).
985#[doc(alias = "G_NETWORK_MONITOR_EXTENSION_POINT_NAME")]
986pub static NETWORK_MONITOR_EXTENSION_POINT_NAME: &GStr =
987    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_NETWORK_MONITOR_EXTENSION_POINT_NAME) };
988/// Extension point for power profile usage monitoring functionality.
989/// See [Extending GIO](overview.html#extending-gio).
990#[cfg(feature = "v2_70")]
991#[cfg_attr(docsrs, doc(cfg(feature = "v2_70")))]
992#[doc(alias = "G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME")]
993pub static POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME: &GStr = unsafe {
994    GStr::from_utf8_with_nul_unchecked(ffi::G_POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME)
995};
996/// Extension point for proxy functionality.
997/// See [Extending GIO](overview.html#extending-gio).
998#[doc(alias = "G_PROXY_EXTENSION_POINT_NAME")]
999pub static PROXY_EXTENSION_POINT_NAME: &GStr =
1000    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_PROXY_EXTENSION_POINT_NAME) };
1001/// Extension point for proxy resolving functionality.
1002/// See [Extending GIO](overview.html#extending-gio).
1003#[doc(alias = "G_PROXY_RESOLVER_EXTENSION_POINT_NAME")]
1004pub static PROXY_RESOLVER_EXTENSION_POINT_NAME: &GStr =
1005    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_PROXY_RESOLVER_EXTENSION_POINT_NAME) };
1006/// Extension point for #GSettingsBackend functionality.
1007#[doc(alias = "G_SETTINGS_BACKEND_EXTENSION_POINT_NAME")]
1008pub static SETTINGS_BACKEND_EXTENSION_POINT_NAME: &GStr =
1009    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_SETTINGS_BACKEND_EXTENSION_POINT_NAME) };
1010/// Extension point for TLS functionality via #GTlsBackend.
1011/// See [Extending GIO](overview.html#extending-gio).
1012#[doc(alias = "G_TLS_BACKEND_EXTENSION_POINT_NAME")]
1013pub static TLS_BACKEND_EXTENSION_POINT_NAME: &GStr =
1014    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_BACKEND_EXTENSION_POINT_NAME) };
1015/// The purpose used to verify the client certificate in a TLS connection.
1016/// Used by TLS servers.
1017#[doc(alias = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT")]
1018pub static TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: &GStr =
1019    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT) };
1020/// The purpose used to verify the server certificate in a TLS connection. This
1021/// is the most common purpose in use. Used by TLS clients.
1022#[doc(alias = "G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER")]
1023pub static TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: &GStr =
1024    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER) };
1025/// Extension point for #GVfs functionality.
1026/// See [Extending GIO](overview.html#extending-gio).
1027#[doc(alias = "G_VFS_EXTENSION_POINT_NAME")]
1028pub static VFS_EXTENSION_POINT_NAME: &GStr =
1029    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VFS_EXTENSION_POINT_NAME) };
1030/// The string used to obtain the volume class with g_volume_get_identifier().
1031///
1032/// Known volume classes include `device`, `network`, and `loop`. Other
1033/// classes may be added in the future.
1034///
1035/// This is intended to be used by applications to classify #GVolume
1036/// instances into different sections - for example a file manager or
1037/// file chooser can use this information to show `network` volumes under
1038/// a "Network" heading and `device` volumes under a "Devices" heading.
1039#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_CLASS")]
1040pub static VOLUME_IDENTIFIER_KIND_CLASS: &GStr =
1041    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_CLASS) };
1042/// The string used to obtain a Hal UDI with g_volume_get_identifier().
1043#[cfg_attr(feature = "v2_58", deprecated = "Since 2.58")]
1044#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_HAL_UDI")]
1045pub static VOLUME_IDENTIFIER_KIND_HAL_UDI: &GStr =
1046    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_HAL_UDI) };
1047/// The string used to obtain a filesystem label with g_volume_get_identifier().
1048#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_LABEL")]
1049pub static VOLUME_IDENTIFIER_KIND_LABEL: &GStr =
1050    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_LABEL) };
1051/// The string used to obtain a NFS mount with g_volume_get_identifier().
1052#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT")]
1053pub static VOLUME_IDENTIFIER_KIND_NFS_MOUNT: &GStr =
1054    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT) };
1055/// The string used to obtain a Unix device path with g_volume_get_identifier().
1056#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE")]
1057pub static VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: &GStr =
1058    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE) };
1059/// The string used to obtain a UUID with g_volume_get_identifier().
1060#[doc(alias = "G_VOLUME_IDENTIFIER_KIND_UUID")]
1061pub static VOLUME_IDENTIFIER_KIND_UUID: &GStr =
1062    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_IDENTIFIER_KIND_UUID) };
1063/// Extension point for volume monitor functionality.
1064/// See [Extending GIO](overview.html#extending-gio).
1065#[doc(alias = "G_VOLUME_MONITOR_EXTENSION_POINT_NAME")]
1066pub static VOLUME_MONITOR_EXTENSION_POINT_NAME: &GStr =
1067    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_VOLUME_MONITOR_EXTENSION_POINT_NAME) };