pub struct Address {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl Address
impl Address
Sourcepub fn directory(&self) -> Directory
pub fn directory(&self) -> Directory
Load a directory from the address.
§Arguments
opt
- optional argument, see inner type for documentation, use_opts to use
Sourcepub fn directory_opts<'a>(&self, opts: AddressDirectoryOpts<'a>) -> Directory
pub fn directory_opts<'a>(&self, opts: AddressDirectoryOpts<'a>) -> Directory
Load a directory from the address.
§Arguments
opt
- optional argument, see inner type for documentation, use_opts to use
Sourcepub fn file(&self) -> File
pub fn file(&self) -> File
Load a file from the address.
§Arguments
opt
- optional argument, see inner type for documentation, use_opts to use
Sourcepub fn file_opts<'a>(&self, opts: AddressFileOpts<'a>) -> File
pub fn file_opts<'a>(&self, opts: AddressFileOpts<'a>) -> File
Load a file from the address.
§Arguments
opt
- optional argument, see inner type for documentation, use_opts to use
Sourcepub fn git_repository(&self) -> GitRepository
pub fn git_repository(&self) -> GitRepository
Load a git repository from the address.
Sourcepub async fn id(&self) -> Result<AddressId, DaggerError>
pub async fn id(&self) -> Result<AddressId, DaggerError>
A unique identifier for this Address.
Sourcepub async fn value(&self) -> Result<String, DaggerError>
pub async fn value(&self) -> Result<String, DaggerError>
The address value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl !RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl !UnwindSafe for Address
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