pub fn is_known_format(&self) -> bool {
        let name = &*self.0.to_string();

        #[cfg(not(any(feature = "chrono_with_format", feature = "uuid")))]
        {
            is_known_format(name)
        }

        #[cfg(any(feature = "chrono_with_format", feature = "uuid"))]
        {
            let mut known_format = is_known_format(name);

            #[cfg(feature = "chrono_with_format")]
            if !known_format {
                known_format = matches!(name, "DateTime" | "Date");
            }

            #[cfg(feature = "uuid")]
            if !known_format {
                known_format = matches!(name, "Uuid");
            }

            known_format
        }
    }
/// Check is the format know format. Known formats can be used within `quote! {...}` statements.
Check is the format know format. Known formats can be used within `quote.
Check is the format know format . Known formats can be used within ` quote .
pub fn is_known_format(&self) -> bool {
        let name = &*self.0.to_string();
        #[cfg(not(any(feature = "chrono_with_format", feature = "uuid")))]
        {
            is_known_format(name)
        }
        #[cfg(any(feature = "chrono_with_format", feature = "uuid"))]
        {
            let mut known_format = is_known_format(name);
            #[cfg(feature = "chrono_with_format")]
            if !known_format {
                known_format = matches!(name, "DateTime" | "Date");
            }
            #[cfg(feature = "uuid")]
            if !known_format {
                known_format = matches!(name, "Uuid");
            }
            known_format
        }
    }
pub fn is_known_format ( & self ) -> bool { let name = & * self . 0 . to_string ( ) ; # [ cfg ( not ( any ( feature " " feature " " ) ) ) ] { is_known_format ( name ) } # [ cfg ( any ( feature " " feature " " ) ) ] { let mut known_format = is_known_format ( name ) ; # [ cfg ( feature " " ) ] if ! known_format { known_format = matches ! ( name " " " " ) ; } # [ cfg ( feature " " ) ] if ! known_format { known_format = matches ! ( name " " ) ; } known_format } }
Check is the format know format.
Check is the format know format .
&self