gstreamer_rtsp/auto/
rtsp_auth_credential.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// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::ffi;
7
8glib::wrapper! {
9    /// RTSP Authentication credentials
10    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11    pub struct RTSPAuthCredential(Boxed<ffi::GstRTSPAuthCredential>);
12
13    match fn {
14        copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _) as *mut ffi::GstRTSPAuthCredential,
15        free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _),
16        type_ => || ffi::gst_rtsp_auth_credential_get_type(),
17    }
18}
19
20unsafe impl Send for RTSPAuthCredential {}