pub fn new_ok(data: D) -> Self {
        Self {
            success: true,
            data: Some(data),
            error: None,
        }
    }
/// Create a new ok response.
Create a new ok response.
Create a new ok response .
pub fn new_ok(data: D) -> Self {
        Self {
            success: true,
            data: Some(data),
            error: None,
        }
    }
pub fn new_ok ( data : D ) -> Self { Self { success : true , data : Some ( data ) , error : None , } }
Create a new ok response.
Create a new ok response .
data
D