pub fn diff(&self) -> &Ident {
    match self {
      Self::Enum(InputEnum { diff, .. }) => diff,
      Self::Struct(InputStruct { diff, .. }) => diff,
    }
  }
/// get diff name for enum or struct.
get diff name for enum or struct.
get diff name for enum or struct .
pub fn diff(&self) -> &Ident {
    match self {
      Self::Enum(InputEnum { diff, .. }) => diff,
      Self::Struct(InputStruct { diff, .. }) => diff,
    }
  }
pub fn diff ( & self ) -> & Ident { match self { Self :: Enum ( InputEnum { diff , .. } ) => diff , Self :: Struct ( InputStruct { diff , .. } ) => diff , } }
get diff name for enum or struct.
get diff name for enum or struct .
&self
&self