pub fn validate_create(mem: &CreateMemory) -> Result<()>
Validate a full CreateMemory before insert.
CreateMemory