You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: f_string_part.rs
    path of file: ./repos/ruff/crates/ruff_python_formatter/src/other
    
    the code of the file until where you have to start completion: use ruff_python_ast::FStringPart;

use crate::other::f_string::FormatFString;
use crate::other::string_literal::{FormatStringLiteral, StringLiteralKind};
use crate::prelude::*;
use crate::string::Quoting;

/// Formats an f-string part which is either a string literal or an f-stri
    
    fn fmt(&self, f: &mut PyFormatter) -> FormatResult<()> {
        match self.part {
            FStringPart::Literal(string_literal) => FormatStringLiteral::new(
                string_literal,
                // If an f-string part is a string literal, the f-string is always
                // implicitly concatenated e.g., `"foo" f"bar {x}"`. A standalone
                // string literal would be a string expression, not an f-string.
                StringLiteralKind::InImplicitlyConcatenatedFString(self.quoting),
            )
            .fmt(f),
            FStringPart::FString(f_string) => FormatFString::new(f_string, self.quoting).fmt(f),
        }
    }