pub fn assert_collection_update_is_valid(
allow_direct_collection_verified_writes: bool,
existing: &Option<Collection>,
incoming: &Option<Collection>
) -> Result<(), ProgramError>
Expand description
Checks whether the collection update is allowed or not based on the verified
status.