A struct from a non-Unity library likely hasn’t been set up to work with Unity. Usually they aren’t decorated with [System.Serializable] and often use auto-properties that Unity can’t serialise anyway.
You can easily just make a wrapper struct/class that does play nice with Unity for your purpose.
Also note if the editor script is a drawer for the given SO type then you should make changes only to the SerializedObject instances of the SO. Any changes made directly to the fields of the target will be lost because the editor works on a temporary instance of the target object, thus all changes need to be serialized back which is what the SerializedObject is for.