fix(sdk): fixed fmt errors

This commit is contained in:
Kasper Juul Hermansen 2023-02-19 12:19:43 +01:00 committed by Kasper Juul Hermansen
parent 6e5f407432
commit 10bc6f3846

View File

@ -21,8 +21,8 @@ pub struct SecretId(String);
pub struct SocketId(String); pub struct SocketId(String);
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
pub struct BuildArg { pub struct BuildArg {
pub name: String,
pub value: String, pub value: String,
pub name: String,
} }
pub struct CacheVolume { pub struct CacheVolume {
pub proc: Arc<Child>, pub proc: Arc<Child>,
@ -67,7 +67,10 @@ pub struct ContainerPublishOpts {
pub struct ContainerWithDefaultArgsOpts { pub struct ContainerWithDefaultArgsOpts {
pub args: Option<Vec<String>>, pub args: Option<Vec<String>>,
} }
pub struct ContainerWithDirectoryOpts {} pub struct ContainerWithDirectoryOpts {
pub exclude: Option<Vec<String>>,
pub include: Option<Vec<String>>,
}
pub struct ContainerWithExecOpts { pub struct ContainerWithExecOpts {
pub stdin: Option<String>, pub stdin: Option<String>,
pub redirect_stdout: Option<String>, pub redirect_stdout: Option<String>,
@ -1459,7 +1462,6 @@ impl Socket {
query.execute(&graphql_client(&self.conn)).unwrap().unwrap() query.execute(&graphql_client(&self.conn)).unwrap().unwrap()
} }
} }
#[derive(Serialize)] #[derive(Serialize)]
pub enum CacheSharingMode { pub enum CacheSharingMode {
SHARED, SHARED,