pub struct SourceArguments {
pub source: Option<Source>,
pub source_reference: i64,
}
Expand description
Arguments for ‘source’ request.
Fields§
§source: Option<Source>
Specifies the source content to load. Either source.path or source.sourceReference must be specified.
source_reference: i64
The reference to the source. This is the same as source.sourceReference. This is provided for backward compatibility since old backends do not understand the ‘source’ attribute.
Trait Implementations§
Source§impl Clone for SourceArguments
impl Clone for SourceArguments
Source§fn clone(&self) -> SourceArguments
fn clone(&self) -> SourceArguments
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceArguments
impl Debug for SourceArguments
Source§impl<'de> Deserialize<'de> for SourceArguments
impl<'de> Deserialize<'de> for SourceArguments
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 PartialEq for SourceArguments
impl PartialEq for SourceArguments
Source§impl Serialize for SourceArguments
impl Serialize for SourceArguments
impl StructuralPartialEq for SourceArguments
Auto Trait Implementations§
impl Freeze for SourceArguments
impl RefUnwindSafe for SourceArguments
impl Send for SourceArguments
impl Sync for SourceArguments
impl Unpin for SourceArguments
impl UnwindSafe for SourceArguments
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