When in a world with LAN turned on, structure blocks are not functional and don't have a name displayed above them.
MC-123784 Structure blocks don't display their mode and name when looked at
MC-88632 Unable to open command blocks & no particles when opening to LAN