Now, with the new versions of solidity you can return a struct also by using memory keyword after writing struct name in return type.
Example:
function ___(___) ____ ___ ___ returns(struct_name memory){ _________; return struct; } function ___(___) ____ ___ ___ returns(struct_name memory){ _________; return structInstance; }