pub struct PreviewRequest {
pub url: Option<String>,
pub definition: Option<String>,
pub references: Option<Vec<Reference>>,
}Fields§
§url: Option<String>§definition: Option<String>§references: Option<Vec<Reference>>Import external references used by definition. It’s usually resources not accessible by Bump servers, like local files or internal URLs.
Trait Implementations§
Source§impl Debug for PreviewRequest
impl Debug for PreviewRequest
Source§impl Default for PreviewRequest
impl Default for PreviewRequest
Source§fn default() -> PreviewRequest
fn default() -> PreviewRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviewRequest
impl<'de> Deserialize<'de> for PreviewRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PreviewRequest
impl Display for PreviewRequest
Auto Trait Implementations§
impl Freeze for PreviewRequest
impl RefUnwindSafe for PreviewRequest
impl Send for PreviewRequest
impl Sync for PreviewRequest
impl Unpin for PreviewRequest
impl UnwindSafe for PreviewRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more