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