#[repr(C)]pub struct _GDBusMethodInfo {
pub ref_count: gint,
pub name: *mut gchar,
pub in_args: *mut *mut GDBusArgInfo,
pub out_args: *mut *mut GDBusArgInfo,
pub annotations: *mut *mut GDBusAnnotationInfo,
}
Expand description
GDBusMethodInfo: @ref_count: The reference count or -1 if statically allocated. @name: The name of the D-Bus method, e.g. @RequestName. @in_args: (array zero-terminated=1): A pointer to a %NULL-terminated array of pointers to #GDBusArgInfo structures or %NULL if there are no in arguments. @out_args: (array zero-terminated=1): A pointer to a %NULL-terminated array of pointers to #GDBusArgInfo structures or %NULL if there are no out arguments. @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 a method on an D-Bus interface.
Since: 2.26
Fields§
§ref_count: gint
§name: *mut gchar
§in_args: *mut *mut GDBusArgInfo
§out_args: *mut *mut GDBusArgInfo
§annotations: *mut *mut GDBusAnnotationInfo
Trait Implementations§
Source§impl Clone for _GDBusMethodInfo
impl Clone for _GDBusMethodInfo
Source§fn clone(&self) -> _GDBusMethodInfo
fn clone(&self) -> _GDBusMethodInfo
Returns a copy 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 _GDBusMethodInfo
impl Debug for _GDBusMethodInfo
Source§impl PartialEq for _GDBusMethodInfo
impl PartialEq for _GDBusMethodInfo
impl Copy for _GDBusMethodInfo
impl Eq for _GDBusMethodInfo
impl StructuralPartialEq for _GDBusMethodInfo
Auto Trait Implementations§
impl Freeze for _GDBusMethodInfo
impl RefUnwindSafe for _GDBusMethodInfo
impl !Send for _GDBusMethodInfo
impl !Sync for _GDBusMethodInfo
impl Unpin for _GDBusMethodInfo
impl UnwindSafe for _GDBusMethodInfo
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