#[repr(C)]pub struct _GDBusAnnotationInfo {
pub ref_count: gint,
pub key: *mut gchar,
pub value: *mut gchar,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
Expand description
GDBusAnnotationInfo: @ref_count: The reference count or -1 if statically allocated. @key: The name of the annotation, e.g. “org.freedesktop.DBus.Deprecated”. @value: The value of the annotation. @annotations: (array zero-terminated=1): A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.
Information about an annotation.
Since: 2.26
Fields§
§ref_count: gint
§key: *mut gchar
§value: *mut gchar
§annotations: *mut *mut GDBusAnnotationInfo
Trait Implementations§
Source§impl Clone for _GDBusAnnotationInfo
impl Clone for _GDBusAnnotationInfo
Source§fn clone(&self) -> _GDBusAnnotationInfo
fn clone(&self) -> _GDBusAnnotationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GDBusAnnotationInfo
impl Debug for _GDBusAnnotationInfo
Source§impl PartialEq for _GDBusAnnotationInfo
impl PartialEq for _GDBusAnnotationInfo
impl Copy for _GDBusAnnotationInfo
impl Eq for _GDBusAnnotationInfo
impl StructuralPartialEq for _GDBusAnnotationInfo
Auto Trait Implementations§
impl Freeze for _GDBusAnnotationInfo
impl RefUnwindSafe for _GDBusAnnotationInfo
impl !Send for _GDBusAnnotationInfo
impl !Sync for _GDBusAnnotationInfo
impl Unpin for _GDBusAnnotationInfo
impl UnwindSafe for _GDBusAnnotationInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more