pub fn with_resolution<S>(resolution: S) -> Self
    where
        S: Into<String>,
    {
        Self {
            resolution: Some(resolution.into()),
            ..Default::default()
        }
    }
/// Create new parameters with the given resolution.
Create new parameters with the given resolution.
Create new parameters with the given resolution .
pub fn with_resolution<S>(resolution: S) -> Self
    where
        S: Into<String>,
    {
        Self {
            resolution: Some(resolution.into()),
            ..Default::default()
        }
    }
pub fn with_resolution < S > ( resolution : S ) -> Self where S : Into < String > , { Self { resolution : Some ( resolution . into ( ) ) , .. Default :: default ( ) } }
Create new parameters with the given resolution.
Create new parameters with the given resolution .
resolution
S
resolution
S