Gst.Message.prototype.get_structure

function get_structure():Gst.Structure {
    // Gjs wrapper for gst_message_get_structure()
}

Access the structure of the message.

Returns

The structure of the message. The structure is still owned by the message, which means that you should not free it and that the pointer becomes invalid when you free the message. MT safe.