Can a defguard definition match against a struct?

it will not capture any other implementations of the Ecto.Queryable , correct?

Right, it wouldn’t …