pub fn session_id(&self) -> String {
        let (obj_data, funcs) = self.get_gui_application_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).session_id)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
///
/// Returns the current [session's](Session%20Management)
/// identifier.
///
/// If the application has been restored from an earlier session, this
/// identifier is the same as it was in that previous session. The session
/// identifier is guaranteed to be unique both for different applications
/// and for different instances of the same application.
///
/// **See also:** [`is_session_restored()`]
/// [`session_key()`]
/// [`commit_data_request()`]
/// [`save_state_request()`]
Returns the current [session's](Session%20Management)
identifier.

If the application has been restored from an earlier session, this
identifier is the same as it was in that previous session. The session
identifier is guaranteed to be unique both for different applications
and for different instances of the same application.


Returns the current [ session ' s ] ( Session%20Management ) identifier . If the application has been restored from an earlier session this identifier is the same as it was in that previous session . The session identifier is guaranteed to be unique both for different applications and for different instances of the same application .
pub fn session_id(&self) -> String {
        let (obj_data, funcs) = self.get_gui_application_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).session_id)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn session_id ( & self ) -> String { let ( obj_data , funcs ) = self . get_gui_application_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . session_id ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns the current [session's](Session%20Management)
identifier.
Returns the current [ session ' s ] ( Session%20Management ) identifier .
&self
&self